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

Alphabetize sub-scopes in filters

Avatar: Ariadna Vila Ariadna Vila
01/09/2021 10:21  

Is your feature request related to a problem? Please describe.
When sub-scopes are defined in the Configuration (within a scope) they appear in alphabetical order, but when you consult the list of sub-scopes in the filters they appear unordered. 

Describe the solution you'd like

That the sub-scopes maintain the same alphabetical order in the filters that it's in the Configuration, as well as the scopes.

Additional context

I'm using 0.24 version.

Does this issue could impact on users private data?

No.

  • Filter results for category: Administration Administration

List of Endorsements

Avatar: Pauline Bessoles Pauline Bessoles verified-badge
Avatar: Lucien Langton Lucien Langton
Endorsements count2
Alphabetize sub-scopes in filters Comments 6

Reference: MDC-PROP-2021-09-16688
Version number 3 (of 3) 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: 8e6371b8657fcd314075a1db016e206baff30a676a17470f9631f3eec96a884e

Source: {"body":{"en":"<p><strong>Is your feature request related to a problem? Please describe.</strong><br>When sub-scopes are defined in the Configuration (within a scope) they appear in alphabetical order, but when you consult the list of sub-scopes in the filters they appear unordered.&nbsp;</p><p><strong>Describe the solution you'd like</strong><br></p><p>That the sub-scopes maintain the same alphabetical order in the filters that it's in the Configuration, as well as the scopes.</p><p><strong>Additional context</strong><br></p><p>I'm using 0.24 version.</p><p><strong>Does this issue could impact on users private data?</strong></p><p>No.</p>"},"title":{"en":"Alphabetize sub-scopes in filters"}}

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/16688/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16688/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Related images

Sub-scopes filters.JPG

Report inappropriate content

Is this content inappropriate?

Reason

6 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Conversation with Ariadna Vila
Avatar: Ariadna Vila Ariadna Vila
20/09/2021 10:04
  • Get link Get link

Hi @product , can you give some feedback about this? Tyvm!

Avatar: Carol Romero Carol Romero verified-badge
22/09/2021 09:32
  • Get link Get link

Hi @Ariadna_VA we cannot reproduce this behaviour. The scope and sub-scopes are sorted alphabetically, do you have a link where we can check this?

Avatar: Ariadna Vila Ariadna Vila
27/09/2021 16:43
  • Get link Get link

Hi @carol! I tested this in this process: https://try.decidim.org/processes/asd/f/118/?locale=ca (Economy sub-scopes).
You can check the sub-scopes here https://try.decidim.org/admin/scopes/12/scopes?locale=ca

Avatar: Carol Romero Carol Romero verified-badge
29/09/2021 10:26
  • Get link Get link

Thanks @Ariadna_VA!
Instead of sorting alphabetically by default, we propose to add the "Weight" field to the scopes and sub-scopes. This way we apply the same logic used by other components and do not limit the sorting possibilities.
If you agree, could you please update the proposal with this change? Thanks!

Conversation with Pauline Bessoles
Avatar: Pauline Bessoles Pauline Bessoles verified-badge
10/11/2021 19:31
  • Get link Get link

Hi @Ariadna_VA and @carol, I was just thinking that if this is developed, we should not forget to implement the weight in all the scopes views:
- interests in user profile
- components filtering
- select scope modal view
That's all :D

Avatar: Carol Romero Carol Romero verified-badge
11/11/2021 15:11
  • Get link Get link

good point, thanks for bring it up @Pops

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
Or

Sign up

Forgot your password?