[Bug 38831] New: Datepicker in ERM reports does not take into account dateformat syspref
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38831 Bug ID: 38831 Summary: Datepicker in ERM reports does not take into account dateformat syspref Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: ERM Assignee: jonathan.druart@gmail.com Reporter: mathsabypro@gmail.com QA Contact: testopia@bugs.koha-community.org CC: jonathan.druart@gmail.com, jonathan.field@ptfs-europe.com, martin.renvoize@ptfs-europe.com, matt.blenkinsop@ptfs-europe.com, pedro.amorim@ptfs-europe.com Datepicker in ERM reports does not take into account dateformat syspref Ex : dateformat = jj/mm/aaaa Date picker for january the 6th : 01/06/2025 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38831 --- Comment #1 from Jonathan Field <jonathan.field@ptfs-europe.com> --- (In reply to Mathieu Saby from comment #0)
Datepicker in ERM reports does not take into account dateformat syspref
Ex : dateformat = jj/mm/aaaa
Date picker for january the 6th : 01/06/2025
Can you elaborate on this? The ERM COUNTER data should only be month and year, you don't get ERM data with Day in it. Do you mean at this location cgi-bin/koha/erm/eusage/reports ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38831 --- Comment #2 from Pedro Amorim <pedro.amorim@ptfs-europe.com> --- I believe all date pickers in ERM utilize the Koha standard flatpickr component, which prompts the user for a 'regular' date, containing day+month+year, even if the functionality does not necessarily require the day to work (e.g. SUSHI queries). This includes the 'run now' button but I think it is also the case for the custom report builder. Even though the ERM date pickers may not be considering the dateformat syspref, as Mathieu reported, and that is likely a real issue, we may also want to consider updating the pickers to only prompt for month+year where applicable. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38831 --- Comment #3 from Jonathan Field <jonathan.field@ptfs-europe.com> --- (In reply to Pedro Amorim from comment #2)
I believe all date pickers in ERM utilize the Koha standard flatpickr component, which prompts the user for a 'regular' date, containing day+month+year, even if the functionality does not necessarily require the day to work (e.g. SUSHI queries). This includes the 'run now' button but I think it is also the case for the custom report builder.
Even though the ERM date pickers may not be considering the dateformat syspref, as Mathieu reported, and that is likely a real issue, we may also want to consider updating the pickers to only prompt for month+year where applicable.
But I don't see a date picker at all on the Usage statistics reports form. Just an input box, that's why I was confused. But maybe I'm looking in the wrong place and have mis-understood the question? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38831 --- Comment #4 from Pedro Amorim <pedro.amorim@ptfs-europe.com> --- (In reply to Jonathan Field from comment #3)
But I don't see a date picker at all on the Usage statistics reports form.
You're right, I don't either. On the reports form it asks for year and month distinctly in different inputs, no flatpickr is used that I can see. Perhaps this is only related to the date pickers in the dialog box shown once the 'run now' button is clicked from the data providers list. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38831 --- Comment #5 from Mathieu Saby <mathsabypro@gmail.com> --- I meant "input box" -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38831 --- Comment #6 from Mathieu Saby <mathsabypro@gmail.com> --- I believe my tests were wrong, I cannot reproduce my issue... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38831 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org