https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28224
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |In Discussion --- Comment #8 from Jonathan Druart <[email protected]> --- 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. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
