mrmap-community / GeoPortal.rlp

Other
7 stars 2 forks source link

Results per page depending on root elements #8

Closed holsandre closed 3 years ago

holsandre commented 3 years ago

Copied to Issue 195 (Mapbender repo)


@armin11 : This depends on mod_callMetadata.php

Status quo

Currently we have a strange behavior for e.g. dataset search results which contain multiple sublayers. All those sublayers and their children and grandchildren (and so on) are added to the sum of "results" for the current page. This leads to the effect, that only one search result is visible on a search page instead of e.g. 5, since the sum of all sublayers results in another amount than 1.

Please regard the attached video.

Solution

Calculation of results per page should be root element oriented. This leads to a list of search results where n results are shown and each result can have n sublayers, which fits the expected behavior much more.

holsandre commented 3 years ago

moved to https://github.com/mrmap-community/Mapbender2.8/