https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28224

--- Comment #9 from Katrin Fischer <[email protected]> ---
(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.
_______________________________________________
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/

Reply via email to