Bugzilla – Attachment 172843 Details for
Bug 33736
Add bookings to collect circulation report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33736: Don't search on start_date if no date filter is defined
Bug-33736-Dont-search-on-startdate-if-no-date-filt.patch (text/plain), 1.32 KB, created by
Paul Derscheid
on 2024-10-17 08:39:25 UTC
(
hide
)
Description:
Bug 33736: Don't search on start_date if no date filter is defined
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-10-17 08:39:25 UTC
Size:
1.32 KB
patch
obsolete
>From fe4da91b72ea8d40d3d72561b2eb9ec5416a8813 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 16 Oct 2024 10:52:10 +0100 >Subject: [PATCH] Bug 33736: Don't search on start_date if no date filter is > defined > >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > .../intranet-tmpl/prog/en/modules/circ/pendingbookings.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >index d1f7289645..485d3398af 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingbookings.tt >@@ -120,7 +120,11 @@ > isoTo = todate.get(0)._flatpickr.selectedDates[0].toISOString().substring(0,10); > } > >- return { '>=': isoFrom, '<=': isoTo }; >+ if ( isoFrom || isoTo ) { >+ return { '>=': isoFrom, '<=': isoTo }; >+ } else { >+ return >+ } > }, > 'item.holding_library_id': function() { > let library = $("#library").find(":selected").val(); >-- >2.47.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33736
:
158356
|
161044
|
165014
|
165144
|
165277
|
165278
|
165279
|
165280
|
170398
|
170399
|
170400
|
172716
|
172717
|
172718
|
172719
|
172720
|
172721
|
172765
|
172807
|
172808
|
172810
|
172823
|
172836
|
172837
|
172838
|
172839
|
172840
|
172841
|
172842
|
172843
|
172844
|
172845
|
173291
|
173292
|
173293
|
173294
|
173295
|
173296
|
173297
|
173298
|
173299
|
173300
|
173301
|
173302
|
173303
|
174582