Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order archive item values and display set values by interface slug in the API and in the list view #3485

Open
jmsmkn opened this issue Aug 8, 2024 · 3 comments · May be fixed by #3768
Open
Assignees

Comments

@jmsmkn
Copy link
Member

jmsmkn commented Aug 8, 2024

That way, the presentation of values both in the templates and in CIRRUS should be consistent.

@ammar257ammar
Copy link
Contributor

I am wondering, since the archive item and display set can have multiple interfaces, how the sorting should be applied? based on the slug of the first interface (of item) for example?

@amickan
Copy link
Contributor

amickan commented Sep 27, 2024

This is about the values of display sets and archive items, not about the items themselves. And the values should be ordered by slug, alphabetically in a ascending order.

@chrisvanrun chrisvanrun self-assigned this Dec 27, 2024
@chrisvanrun
Copy link
Contributor

There is currently a 'kind' ordering in displaying the CIV representations in lists:

[*values, *thumbnails, *charts, *files, *images, *residual]

This has the previewable values and other direct viewable kind of input/outputs first, and the downloadable as last. I suggest we apply this to the API as well, that way CIRRUS picks it up.

@chrisvanrun chrisvanrun linked a pull request Dec 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants