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

Show child categories in export

Avatar: Virgile Deville Virgile Deville
06/03/2020 16:01  
Accepted / In progress

Currently exports only display the parent category in the category column. Sometimes it's important for our client to be able to filter by subcategories, especially when exporting the results.

We recommend with @Armand_OSP that we keep the two existing catégories :
- category/id
- category/name/fr

In the cell we'll just use a json format :
cat_parent : { "cat_child":{cat_grandchild"}}

That way a developper can still parse it.

  • Filter results for category: Result Monitoring Result Monitoring

This proposal has been accepted and is under development

  • Has been reviewed by Decidim Product and complies with the Social Contract
  • It is funded by Rillieux-la-Pape
  • Developed by Open Source Politics 
  • Waiting for PR


Endorsements count0
Show child categories in export Comments 1

Reference: MDC-PROP-2020-03-15103
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: 42004fddf90cf46008fe0a008d74cdd1ba4b8cadf724d91ac765c8b9cdca47bf

Source: {"body":{"en":"Currently exports only display the parent category in the category column. Sometimes it's important for our client to be able to filter by subcategories, especially when exporting the results.\r\n\r\nWe recommend with @Armand_OSP that we keep the two existing catégories :\r\n- category/id\t\r\n- category/name/fr\r\n\r\nIn the cell we'll just use a json format : \r\ncat_parent : { \"cat_child\":{cat_grandchild\"}} \r\n\r\nThat way a developper can still parse it."},"title":{"en":"Show child categories in export"}}

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

Report inappropriate content

Is this content inappropriate?

Reason

1 comment

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Avatar: Virgile Deville Virgile Deville
23/03/2020 19:32
  • Get link Get link

@carol additional info
Is your feature related to a problem?
Currently exports only display the parent category in the category column. Sometimes it's important for our client to be able to filter by subcategories, especially when exporting the results.

Describe the solution you'd like
In the export file, include all the necessary information in the category cells :
- category/id
- category/name/fr

To reflect the parent-child structure we recommend using a json format :
catparent : { "catchild":{cat_grandchild"}}

That way a developper can still parse it.

Additional context
None

Does this issue could impact on users private data ?
Nope

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?