-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
docType:diariesbugs and features related to the display of diary entriesbugs and features related to the display of diary entries
Milestone
Description
Joachim reported:
Wenn man im Kalender auf 31. Dez. 1810 klickt […], wird nicht der Text zum Tag, sondern die Moralische Übersicht angezeigt. Es müsste A064708 angezeigt werden
The root cause is that there's no select option in the frontend for choosing between several options when clicking on a calendar date. The backend will happily return all possible targets yet the frontend currently just asks for one, see limit=1 at
WeGA-WebApp/resources/js/init.js
Lines 956 to 961 in cc2f688
| function jump2diary(dateText) { | |
| const url = $('#datePicker').attr('data-api-base') + "/documents/findByDate?docType=diaries&limit=1&fromDate=" + dateText + "&toDate=" + dateText; | |
| $.getJSON(url, function(data) { | |
| self.location=data[0].uri + '.html'; | |
| }) | |
| } |
Metadata
Metadata
Assignees
Labels
docType:diariesbugs and features related to the display of diary entriesbugs and features related to the display of diary entries