Closed (fixed)
Project:
OpenCulturas
Version:
2.5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2025 at 14:13 UTC
Updated:
21 Oct 2025 at 14:04 UTC
Jump to comment: Most recent
In rare cases, the new dates map might produce duplicate results at the end of the list, due to an indeterministic sorting.
Consider this scenario:
This is caused by the somewhat strange algorithm that consecutively loads all date items completely, even if that information is only needed for the map markers. When data is loaded for page 1 (the second call), item A is erroneously returned as the first item, because it has the same start date and time as item B.
Add some more sort criteria to make the sorting deterministic:
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mrshowermanComment #6
tobiasbBoth will be added to the view via update hook openculturas_map_update_10004.