Saltar al contenido principal

Configuración de cookies

Utilizamos cookies para asegurar las funcionalidades básicas del sitio web y para mejorar tu experiencia en línea. Puedes configurar y aceptar el uso de las cookies, y modificar tus opciones de consentimiento en cualquier momento.

Esenciales

Preferencias

Analíticas y estadísticas

Marketing

This proposal has been implemented

  • Reviewed by @product and accepted in the main project
  • Funded by département de Loire-Atlantique
  • Developed by Open Source Politics
  • Available in release 0.28 via #9377

Let admins choose the default order of appearance of the initiatives

Avatar: Ouarda Oubahri Ouarda Oubahri Finished

Is your feature request related to a problem? Please describe.
Currently the initiatives appear in a random order. In some cases the admins would like them to appear by the most recently published or the most commented, etc. As an admin, I would like to be able to choose the default order of appearance of the initiatives in the FE initiatives index. 

Describe the solution you'd like

The solution we would like to propose is to add a “Settings” tab in “admin/initiatives” secondary navbar so that admins would be able to :

  • Short term: choose the default order of appearance of the initiatives in FE index.
  • Add label : “Default order of appearance of the initiatives”
  • Add dropdown list :

<select name="initiatives_order">

<option value="1" selected="selected">Random</option>

<option value="2">Most recent</option>

<option value="3">Most signed</option>

<option value="4">Most comented</option>

<option value="5">Most recently published</option>

</select>

  • Medium/long term: set initiatives general configurations (like components enabled, default signature time period length, etc.


Additional context
A “Settings” tab was added in the same way for assemblies general settings in https://github.com/decidim/decidim/pull/6040

Does this issue could impact on users private data?
No

Funded by
Funded by département de Loire-Atlantique.

Comentario

Confirmar

Por favor, inicia la sesión

La contraseña es demasiado corta.

Compartir