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

Priority mode for Collections vs. Child Links #263 #270

Merged
merged 2 commits into from
Feb 16, 2023
Merged

Conversation

m-mohr
Copy link
Collaborator

@m-mohr m-mohr commented Feb 9, 2023

Adds experimental support for a config option that allows to choose a "priority mode" for Collections vs. Child Links.

Implements #263

@chiarch84 Could you please give this a thorough review and test on your implementation? It seemed to work for FedEO though.
Might potentially also be of interest for @ycespb and @iliion.

Setting this option in the root catalog should also be considered so that the Demo instance and STAC Index can make use of it:
https://github.com/radiantearth/stac-browser/tree/dev#customize-through-root-catalog

@m-mohr m-mohr added this to the 3.0.0-rc.1 milestone Feb 9, 2023
@m-mohr m-mohr linked an issue Feb 9, 2023 that may be closed by this pull request
@chiarch84
Copy link

chiarch84 commented Feb 13, 2023

Thanks @m-mohr for pointing it out!
We'll test it and let you know! Thanks a lot!

@chiarch84
Copy link

Dear @m-mohr we just tested this new functionality and for us it seems working well! Thanks for the improvement!
I guess it could be merged in the dev branch.

In fact we tested the following situation:

  • 'data' link containing the whole list of collections
  • list of 'child' links containing subcatalogs
  • 'apiCatalogPriority' set to 'childs'

It correctly works and shows only the subcatalogs in home page, and in the search GUI it correctly shows the whole list of collections!

@m-mohr m-mohr merged commit 904de2d into dev Feb 16, 2023
@m-mohr m-mohr deleted the api-catalog-prio branch February 16, 2023 09:43
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 this pull request may close these issues.

Priority mode for Collections vs. Child Links
2 participants