Skip to content

issue with selection of diary entries for multiple entries from the same date #481

@peterstadler

Description

@peterstadler

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

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

No one assigned

    Labels

    docType:diariesbugs and features related to the display of diary entries

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions