Bugzilla – Attachment 126262 Details for
Bug 29231
Add missing Flatpickr to inventory page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29231: Add missing Flatpickr to inventory page
Bug-29231-Add-missing-Flatpickr-to-inventory-page.patch (text/plain), 1.41 KB, created by
David Nind
on 2021-10-14 09:50:46 UTC
(
hide
)
Description:
Bug 29231: Add missing Flatpickr to inventory page
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-10-14 09:50:46 UTC
Size:
1.41 KB
patch
obsolete
>From 1d3ddefd449796ce4597a1f65587d122776ed531 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 13 Oct 2021 18:39:36 +0000 >Subject: [PATCH] Bug 29231: Add missing Flatpickr to inventory page > >This patch corrects a stray instance of the "datepicker" class in the >inventory template and replaces it with "flatpickr" to trigger a >Flatpickr. > >To test, apply the patch and go to Tools -> Inventory. Check that the >"Last inventory date" field is a Flatpickr widget. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >index 0bb130d0c3..782907355a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >@@ -168,7 +168,7 @@ > <li> > <br/> > <label for="datelastseen">Last inventory date:</label> >- <input type="text" id="datelastseen" name="datelastseen" value="[% datelastseen | $KohaDates %]" class="datepicker" /> >+ <input type="text" id="datelastseen" name="datelastseen" value="[% datelastseen | $KohaDates %]" class="flatpickr" /> > (Skip records marked as seen on or after this date.) > </li> > <li> >-- >2.20.1
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 29231
:
126233
|
126262
|
126465