https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28224 --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Jonathan Druart from comment #8)
With the following lines in IntranetUserJS, whoever can set the values they want in whichever date inputs:
const OrderSearchFromDate = 3; if ( $("body").attr("id") == "acq_histsearch" ) { let now = dayjs(); let from = now.subtract(OrderSearchFromDate, 'day').format("YYYY-MM-DD"); $("#from").val(from); }
Don't you think it's preferable to advertise this solution instead of creating one pref per need?
Switching to in discussion.
Have you tested it works for the 'simple' search from the top search bar? Because I believe we tried that, but it didn't work. -- You are receiving this mail because: You are watching all bug changes.