Skip to content

federation backends filter on single item search #23

@sbrunato

Description

@sbrunato

When performing a search using federation:backends filter, keep this filtering in links contained in the obtained response.

When searching

http://localhost:8000/search?collections=S2_MSI_L1C&query={%22federation:backends%22:{%22eq%22:%22wekeo_main%22}}&datetime=2023-01-01T00:00:00Z/2023-02-01T00:00:00Z

single item links are loosing the filtering and will perform a search on EODAG preferred provider (http://localhost:8000/collections/S2_MSI_L1C/items/S2B_MSIL1C_20230131T235129_N0509_R073_T59UNT_20230201T010807)

Proposed solution:

In the case, use item links formatted like http://localhost:8000/search?collections=S2_MSI_L1C&filter=federation:backends=%27peps%27&ids=S2B_MSIL1C_20230131T235129_N0509_R073_T59UNT_20230201T010807

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions