This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Let admins choose the default order of appearance of the initiatives

Avatar: Ouarda Oubahri Ouarda Oubahri
23/05/2022 13:59  
Accepted / In progress

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.

  • Filter results for category: Initiatives Initiatives

This proposal has been accepted and is under development

List of Endorsements

Avatar: Open Source Politics Open Source Politics verified-badge
Avatar: Pauline Bessoles Pauline Bessoles verified-badge
Avatar: Giacomo Giacomo
Endorsements count3
Let admins choose the default order of appearance of the initiatives Comments 2

Reference: MDC-PROP-2022-05-16983
Version number 2 (of 2) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: d76b8263c3e830f7474a0884b55469b0286c4c990a502ed159c9ae2d017b5e94

Source: {"body":{"en":"<p><strong>Is your feature request related to a problem? Please describe.</strong><br>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.&nbsp;</p><p><strong>Describe the solution you'd like</strong><br></p><p>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 :</p><ul><li>Short term: choose the default order of appearance of the initiatives in FE index.</li><li class=\"ql-indent-1\">Add label : “Default order of appearance of the initiatives”</li><li class=\"ql-indent-1\">Add dropdown list :</li></ul><p class=\"ql-indent-2\"><code>&lt;select name=\"initiatives_order\"&gt;</code></p><p class=\"ql-indent-2\"><code> &lt;option value=\"1\" selected=\"selected\"&gt;Random&lt;/option&gt;</code></p><p class=\"ql-indent-2\"><code> &lt;option value=\"2\"&gt;Most recent&lt;/option&gt;</code></p><p class=\"ql-indent-2\"><code> &lt;option value=\"3\"&gt;Most signed&lt;/option&gt;</code></p><p class=\"ql-indent-2\"><code>\t&lt;option value=\"4\"&gt;Most comented&lt;/option&gt;</code></p><p class=\"ql-indent-2\"><code>\t&lt;option value=\"5\"&gt;Most recently published&lt;/option&gt;</code></p><p class=\"ql-indent-2\"><code>&lt;/select&gt;</code></p><ul><li>Medium/long term: set initiatives general configurations (like components enabled, default signature time period length, etc.</li></ul><p><br></p><p><strong>Additional context</strong><br>A “Settings” tab was added in the same way for assemblies general settings in https://github.com/decidim/decidim/pull/6040</p><p><strong>Does this issue could impact on users private data?</strong><br>No</p><p><strong>Funded by</strong><br>Funded by département de Loire-Atlantique.</p>"},"title":{"en":"Let admins choose the default order of appearance of the initiatives"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16983/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16983/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Related images

Settings initiatives.png

Report inappropriate content

Is this content inappropriate?

Reason

2 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Conversation with Pauline Bessoles
Avatar: Pauline Bessoles Pauline Bessoles verified-badge
25/05/2022 10:25
  • Get link Get link

@product would you be interested in this feature?

Avatar: Decidim Product Decidim Product verified-badge
26/05/2022 12:19
  • Get link Get link

Yes, we'll approve it now. Just a small thing to change: the label should be "Default initiatives sorting", to be consistent with the one that we have in Proposals component settings.

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim Barcelona
Or

Sign up

Forgot your password?