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

default sort of catalog items? #652

Open
prjemian opened this issue Mar 16, 2021 · 0 comments
Open

default sort of catalog items? #652

prjemian opened this issue Mar 16, 2021 · 0 comments

Comments

@prjemian
Copy link
Contributor

Is it a feature of databroker to return a list of runs in any specific order (such as chronological)?

When I use a catalog backed by MongoDB (such as BCDA-APS/apstools#498), a for loop over the catalogs comes out that way, so that cat[-1] is the most recent run. When using a catalog backed by Msgpack (such as from databroker-pack or from other older methods such as BCDA-APS/apstools#479), there is no obvious sort order, by any key.

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

No branches or pull requests

1 participant