Bugzilla – Attachment 166389 Details for
Bug 36804
Serials claims 'Clear filter' doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36804: Fix clear filter
Bug-36804-Fix-clear-filter.patch (text/plain), 1.86 KB, created by
David Nind
on 2024-05-08 11:31:29 UTC
(
hide
)
Description:
Bug 36804: Fix clear filter
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-08 11:31:29 UTC
Size:
1.86 KB
patch
obsolete
>From 595f549cb2be3627f24bea59a212c98c194b652f Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 7 May 2024 15:46:23 +0000 >Subject: [PATCH] Bug 36804: Fix clear filter > >1) Visit serials and click "New subscription": >http://localhost:8081/cgi-bin/koha/serials/serials-home.pl >2) Enter '112' on the record input and '1' on the vendor input. Click "Next" >3) 'First issue publication date' -> Enter some date in the past >4) 'Frequency' -> Enter '2/day' >5) 'Subscription start date' Same as step 3) >6) 'Subscription end date' Some date in the future >7) 'Numbering pattern' -> Enter 'Number' >8) Click 'Test prediction pattern'. Click 'Save subscription' >9) On the left side menu -> Click "Serial collection". Click the yellow button 'Edit serials' >10) On the first serial, edit the status to 'Late'. Save. >11) Visit serials claims: >http://localhost:8081/cgi-bin/koha/serials/claims.pl?supplierid=1 >12) Input some dates in "From" and "To" >13) Click 'Clear filter'. Notice it doesn't work. >14) Apply patch. Repeat. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >index b9696b269f..21d8e10539 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >@@ -288,7 +288,8 @@ > }); > $("#clearfilter").on("click",function(e){ > e.preventDefault(); >- $("#from,#to").val(""); >+ $("#from").flatpickr().clear(); >+ $("#to").flatpickr().clear(); > $("table#claimst tbody tr").show(); > }); > $("#claims_form").on("submit",function(){ >-- >2.39.2
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 36804
:
166306
|
166389
|
166394