https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28224 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |In Discussion --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- 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. -- You are receiving this mail because: You are watching all bug changes.