Bugzilla – Attachment 126472 Details for
Bug 29240
Flatpickr - error in the console when a date is selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29240: Rename start_for with date_to
Bug-29240-Rename-startfor-with-dateto.patch (text/plain), 41.57 KB, created by
Jonathan Druart
on 2021-10-19 07:57:49 UTC
(
hide
)
Description:
Bug 29240: Rename start_for with date_to
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-10-19 07:57:49 UTC
Size:
41.57 KB
patch
obsolete
>From d8993c5e9e91f981d4e3050d00a877db4bdf61eb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 19 Oct 2021 09:57:26 +0200 >Subject: [PATCH] Bug 29240: Rename start_for with date_to > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 4 ++-- > .../intranet-tmpl/prog/en/includes/filter-orders.inc | 2 +- > .../intranet-tmpl/prog/en/modules/acqui/invoices.tt | 4 ++-- > .../intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 +- > .../prog/en/modules/admin/aqbudgetperiods.tt | 4 ++-- > .../intranet-tmpl/prog/en/modules/admin/aqcontract.tt | 2 +- > .../intranet-tmpl/prog/en/modules/circ/overdue.tt | 2 +- > .../prog/en/modules/circ/pendingreserves.tt | 2 +- > .../prog/en/modules/circ/reserveratios.tt | 2 +- > .../prog/en/modules/clubs/clubs-add-modify.tt | 2 +- > .../intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 4 ++-- > .../intranet-tmpl/prog/en/modules/labels/search.tt | 2 +- > .../prog/en/modules/members/memberentrygen.tt | 2 +- > .../intranet-tmpl/prog/en/modules/pos/register.tt | 2 +- > .../prog/en/modules/reports/acquisitions_stats.tt | 4 ++-- > .../prog/en/modules/reports/bor_issues_top.tt | 4 ++-- > .../prog/en/modules/reports/borrowers_stats.tt | 2 +- > .../prog/en/modules/reports/cash_register_stats.tt | 2 +- > .../prog/en/modules/reports/cat_issues_top.tt | 4 ++-- > .../prog/en/modules/reports/catalogue_stats.tt | 4 ++-- > .../prog/en/modules/reports/dictionary.tt | 2 +- > .../prog/en/modules/reports/guided_reports_start.tt | 2 +- > .../prog/en/modules/reports/issues_avg_stats.tt | 4 ++-- > .../prog/en/modules/reports/issues_stats.tt | 2 +- > .../prog/en/modules/reports/reserves_stats.tt | 10 +++++----- > .../intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- > .../intranet-tmpl/prog/en/modules/serials/claims.tt | 2 +- > .../prog/en/modules/serials/subscription-add.tt | 2 +- > .../prog/en/modules/serials/subscription-history.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt | 2 +- > .../prog/en/modules/tools/additional-contents.tt | 2 +- > .../prog/en/modules/tools/batch_extend_due_dates.tt | 2 +- > .../intranet-tmpl/prog/en/modules/tools/export.tt | 2 +- > .../intranet-tmpl/prog/en/modules/tools/viewlog.tt | 2 +- > 34 files changed, 47 insertions(+), 47 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >index 3002796e24e..231d97d48ae 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >@@ -60,8 +60,8 @@ > onClose: function( selectedDates, dateText, instance) { > validate_date( dateText, instance ); > var thisInput = instance.input; >- if ( thisInput.hasAttribute('data-start_for') ) { >- var endPicker = document.querySelector("#"+thisInput.dataset.start_for)._flatpickr; >+ if ( thisInput.hasAttribute('data-date_to') ) { >+ var endPicker = document.querySelector("#"+thisInput.dataset.date_to)._flatpickr; > endPicker.set('minDate', selectedDates[0]); > } > }, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc >index efc1bc0f302..17f1d1dc3a4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc >@@ -103,7 +103,7 @@ > </li> > > <li><label for="from">From: </label> >- <input type="text" size="10" id="from" name="from" value="[% filters.from_placed_on | $KohaDates %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="from" value="[% filters.from_placed_on | $KohaDates %]" class="flatpickr" data-date_to="to" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li><label for="to">To: </label> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >index 7ff7b0e3aed..3809d071f76 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt >@@ -297,7 +297,7 @@ > <ol> > <li> > <label for="shipmentdatefrom">From:</label> >- <input type="text" id="shipmentdatefrom" name="shipmentdatefrom" size="10" value="[% shipmentdatefrom | $KohaDates %]" class="flatpickr" data-start_for="shipmentdateto" /> >+ <input type="text" id="shipmentdatefrom" name="shipmentdatefrom" size="10" value="[% shipmentdatefrom | $KohaDates %]" class="flatpickr" data-date_to="shipmentdateto" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >@@ -314,7 +314,7 @@ > <ol> > <li> > <label for="billingdatefrom">From:</label> >- <input type="text" id="billingdatefrom" name="billingdatefrom" size="10" value="[% billingdatefrom | $KohaDates %]" class="flatpickr" data-start_for="billingdateto" /> >+ <input type="text" id="billingdatefrom" name="billingdatefrom" size="10" value="[% billingdatefrom | $KohaDates %]" class="flatpickr" data-date_to="billingdateto" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >index 6740629bd2b..6cccff9bbfa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >@@ -232,7 +232,7 @@ > <ol> > <li><label for="delay">Order date:</label><input size="3" maxlength="3" id="delay" type="text" name="delay" value="[% delay | html %]" /> days ago</li> > <li><label for="from">Estimated delivery date from: </label> >- <input type="text" size="10" id="from" name="estimateddeliverydatefrom" value="[% estimateddeliverydatefrom | html %]" class="flatpickr" data-start_for="to"/> >+ <input type="text" size="10" id="from" name="estimateddeliverydatefrom" value="[% estimateddeliverydatefrom | html %]" class="flatpickr" data-date_to="to"/> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li><label for="to">To: </label> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >index 85acd8de7c0..1560479772b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >@@ -189,7 +189,7 @@ > > <li> > <label class="required" for="from">Start date: </label> >- <input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="flatpickr" data-date_to="to" /> > <span class="required">Required</span> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> >@@ -259,7 +259,7 @@ > <ol> > <li> > <label class="required" for="from">Start date: </label> >- <input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="budget_period_startdate" value="[% budget_period_startdate | $KohaDates %]" class="flatpickr" data-date_to="to" /> > <span class="required">Required</span> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt >index c2803450684..b4a0983041e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt >@@ -132,7 +132,7 @@ > <input type="text" name="contractdescription" id="contractdescription" size="40" maxlength="80" value="[% contractdescription | html %]" /> > </li> > <li><label for="from" class="required">Start date:</label> >- <input type="text" name="contractstartdate" id="from" value="[% contractstartdate | $KohaDates %]" maxlength="10" size="10" class="flatpickr" data-start_for="to" /> >+ <input type="text" name="contractstartdate" id="from" value="[% contractstartdate | $KohaDates %]" maxlength="10" size="10" class="flatpickr" data-date_to="to" /> > <span class="required">Required</span> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >index 9e6077d0668..36620b75208 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt >@@ -156,7 +156,7 @@ > > <li class="date_due_filter"> > <label for="from">From:</label> >- <input type="text" id="from" name="dateduefrom" size="10" value="[% filters.dateduefrom | $KohaDates %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" id="from" name="dateduefrom" size="10" value="[% filters.dateduefrom | $KohaDates %]" class="flatpickr" data-date_to="to" /> > </li> > <li class="date_due_filter"> > <label for="to">To:</label> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >index 8e0642f674a..af7c47b5882 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >@@ -271,7 +271,7 @@ > <label for="from"> > Start date: > </label> >-<input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-start_for="to" /> >+<input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-date_to="to" /> > </li> > <li><label for="to"> > End date: >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt >index 94dcd4ad68e..6386962f78f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt >@@ -164,7 +164,7 @@ > > <li> > <label for="from">Start date:</label> >- <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="from" value="[% from | $KohaDates %]" class="flatpickr" data-date_to="to" /> > </li> > > <li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >index 18e58f5fafa..f9920538165 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >@@ -73,7 +73,7 @@ > > <li> > <label for="from">Start date:</label> >- <input name="date_start" id="from" size="10" class="flatpickr" data-start_for="to" value="[% club.date_start | $KohaDates %]"> >+ <input name="date_start" id="from" size="10" class="flatpickr" data-date_to="to" value="[% club.date_start | $KohaDates %]"> > </li> > > <li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index dea023627be..39dbd678198 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -73,7 +73,7 @@ > </li> > <li> > <label for="illfilter_dateplaced_start">Date placed between:</label> >- <input type="text" name="illfilter_dateplaced_start" id="illfilter_dateplaced_start" class="flatpickr" data-start_for="illfilter_dateplaced_end"/> >+ <input type="text" name="illfilter_dateplaced_start" id="illfilter_dateplaced_start" class="flatpickr" data-date_to="illfilter_dateplaced_end"/> > </li> > <li> > <label for="illfilter_dateplaced_end">and:</label> >@@ -81,7 +81,7 @@ > </li> > <li> > <label for="illfilter_datemodified_start">Updated between:</label> >- <input type="text" name="illfilter_datemodified_start" id="illfilter_datemodified_start" class="flatpickr" data-start_for="illfilter_datemodified_end" /> >+ <input type="text" name="illfilter_datemodified_start" id="illfilter_datemodified_start" class="flatpickr" data-date_to="illfilter_datemodified_end" /> > </li> > <li> > <label for="illfilter_datemodified_end">and:</label> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >index a3e2a05f892..8cf3a91bb5d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >@@ -90,7 +90,7 @@ to add to Batch [% batch_id | html %] > <ol> > <li> > <label for="from">Added on or after date: </label> >- <input type="text" size="10" id="from" name="datefrom" class="flatpickr" data-start_for="to" value="" /> >+ <input type="text" size="10" id="from" name="datefrom" class="flatpickr" data-date_to="to" value="" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 6450d5f1a4e..204c59723ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1055,7 +1055,7 @@ legend:hover { > [% END %] > Registration date: > </label> >- <input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled | html %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled | html %]" class="flatpickr" data-date_to="to" /> > [% IF ( mandatorydateenrolled ) %] > <span class="required">Required</span> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >index b9ef85e550a..c00771f449d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >@@ -163,7 +163,7 @@ > <ol> > <li> > <label for="trange_f">From: </label> >- <input type="text" size="10" id="from" class="flatpickr" data-start_for="to" name="trange_f" value="[% trange_f | html %]"/> >+ <input type="text" size="10" id="from" class="flatpickr" data-date_to="to" name="trange_f" value="[% trange_f | html %]"/> > <label class="inline" for="trange_t">To: </label> > <input type="text" size="10" id="to" class="flatpickr" name="trange_t" value="[% trange_t | html %]" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >index 1a9667c4ab1..8ae84ad28f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt >@@ -120,7 +120,7 @@ > <td><input type="radio" name="Line" value="aqbasket.closedate" /></td> > <td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td> > <td> >- From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-start_for="placedonto" /> >+ From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-date_to="placedonto" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > To <input size="10" id="placedonto" name="Filter" type="text" value="" class="flatpickr" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >@@ -143,7 +143,7 @@ > <td><input type="radio" name="Line" value="aqorders.datereceived" /></td> > <td><input type="radio" name="Column" value="aqorders.datereceived" /></td> > <td> >- From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-start_for="receivedonto" /> >+ From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-date_to="receivedonto" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> > To <input type="text" size="10" id="receivedonto" name="Filter" value="" class="flatpickr" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >index b784b8a5639..9bdf3897e70 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt >@@ -120,7 +120,7 @@ > <ol> > <li> > <label for="checkoutfrom">Checkout date from:</label> >- <input type="text" size="10" id="checkoutfrom" name="Filter" class="flatpickr" data-start_for="checkoutto" /> >+ <input type="text" size="10" id="checkoutfrom" name="Filter" class="flatpickr" data-date_to="checkoutto" /> > > <label class="inline" for="checkoutto">To: </label> > <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" /> >@@ -128,7 +128,7 @@ > </li> > <li> > <label for="checkinfrom">Check-in date from:</label> >- <input type="text" size="10" id="checkinfrom" name="Filter" class="flatpickr" data-start_for="checkinto" /> >+ <input type="text" size="10" id="checkinfrom" name="Filter" class="flatpickr" data-date_to="checkinto" /> > > <label class="inline" for="checkinto">To: </label> > <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt >index 8ae1d0627ac..674590a7e62 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt >@@ -181,7 +181,7 @@ > <td colspan="2"></td> > <td> > <label for="from">From</label> >- <input type="text" size="10" id="from" name="Filter" class="flatpickr"data-start_for="to" /> >+ <input type="text" size="10" id="from" name="Filter" class="flatpickr"data-date_to="to" /> > <label for="to">To</label> > <input size="10" id="to" name="Filter" value="" type="text" class="flatpickr" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >index 2017b58fb1f..545689a9778 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >@@ -58,7 +58,7 @@ > <br> > <li> > <label for="from">From: </label> >- <input type="text" size="10" id="from" name="from" value="[% beginDate | $KohaDates %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="from" value="[% beginDate | $KohaDates %]" class="flatpickr" data-date_to="to" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >index 910caa92db1..96bb85d177e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt >@@ -97,7 +97,7 @@ > <ol> > <li> > <label for="checkoutfrom">Checkout date from: </label> >- <input type="text" size="10" id="checkoutfrom" name="Filter" data-start_for="checkoutto" class="flatpickr" /> >+ <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkoutto" class="flatpickr" /> > > <label for="checkoutto" class="inline">To:</label> > <input size="10" id="checkoutto" name="Filter" value="" type="text" class="flatpickr" /> >@@ -105,7 +105,7 @@ > </li> > <li> > <label for="checkinfrom">Check-in date from</label> >- <input type="text" size="10" id="checkinfrom" name="Filter" data-start_for="checkinto" class="flatpickr" /> >+ <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" /> > > <label for="checkinto" class="inline">To: </label> > <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >index bdaba8e80b6..8a63209b21a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt >@@ -252,7 +252,7 @@ > <td><input type="radio" name="Column" value="items.dateaccessioned" /></td> > <td> > <label for="acqdateFrom">From</label> >- <input type="text" name="Filter" id="acqdateFrom" data-start_for="acqdateTo" class="flatpickr" /> >+ <input type="text" name="Filter" id="acqdateFrom" data-date_to="acqdateTo" class="flatpickr" /> > > <label for="acqdateTo">To</label> > <input type="text" name="Filter" id="acqdateTo" class="flatpickr" /> >@@ -264,7 +264,7 @@ > <td><input type="radio" name="Column" value="deleteditems.timestamp" /></td> > <td> > <label for="deldateFrom">From</label> >- <input type="text" name="Filter" id="deldateFrom" data-start_for="deldateTo" class="flatpickr" /> >+ <input type="text" name="Filter" id="deldateFrom" data-date_to="deldateTo" class="flatpickr" /> > > <label for="deldateTo">To</label> > <input type="text" name="Filter" id="deldateTo" class="flatpickr" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >index 349e1b2e888..47b08c8a25f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >@@ -259,7 +259,7 @@ > </li> > <li class="radio"> > Start of date range >- <input type="text" size="10" id="from" name="[% column.name | html %]_start_value" value="" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="[% column.name | html %]_start_value" value="" class="flatpickr" data-date_to="to" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > End of date range > <input type="text" size="10" id="to" name="[% column.name | html %]_end_value" value="" class="flatpickr" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 9211b4a96d8..2cac2b04aa2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -619,7 +619,7 @@ > [% IF ( criteri.daterange ) %] > <td> > from >- <input type="text" size="10" id="from_[% criteri.name.remove('\.') | html %]_value" name="from_[% criteri.name | html %]_value" value="" data-start_for="to_[% criteri.name.remove('\.') | html %]_value" class="flatpickr" /> >+ <input type="text" size="10" id="from_[% criteri.name.remove('\.') | html %]_value" name="from_[% criteri.name | html %]_value" value="" data-date_to="to_[% criteri.name.remove('\.') | html %]_value" class="flatpickr" /> > to > <input type="text" size="10" id="to_[% criteri.name.remove('\.') | html %]_value" name="to_[% criteri.name | html %]_value" value="" class="flatpickr" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >index bb1e3200bcc..8b02e551e9a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt >@@ -105,7 +105,7 @@ > <td><input type="radio" checked="checked" name="Column" value="timestamp" /></td> > <td> > <label for="checkoutfrom">From</label> >- <input type="text" size="10" id="checkoutfrom" name="Filter" data-start_for="checkouto" class="flatpickr" /> >+ <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkouto" class="flatpickr" /> > > <label for="checkouto">To</label> > <input size="10" id="checkouto" name="Filter" value="" type="text" class="flatpickr" /> >@@ -130,7 +130,7 @@ > <td><input type="radio" name="Column" value="returndate" /></td> > <td> > <label for="checkinfrom">From</label> >- <input type="text" size="10" id="checkinfrom" name="Filter" data-start_for="checkinto" class="flatpickr" /> >+ <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" /> > > <label for="checkinto">To</label> > <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >index 3589e5f1c79..4dd120b2f59 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt >@@ -128,7 +128,7 @@ > <td><input type="radio" name="Column" value="datetime" /></td> > <td> > <label for="from">From</label> >- <input type="text" size="10" id="from" name="Filter" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="Filter" class="flatpickr" data-date_to="to" /> > <label for="to">To</label> > <input size="10" id="to" name="Filter" value="" type="text" class="flatpickr" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >index 59cd4aca36c..978c24be36e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt >@@ -125,7 +125,7 @@ > <td><input type="radio" name="Column" value="reservedate" /></td> > <td> > <label for="filter_reservedate_begin">From</label> >- <input type="text" size="10" id="filter_reservedate_begin" data-start_for="filter_reservedate_end" name="filter_reservedate_begin" class="flatpickr" /> >+ <input type="text" size="10" id="filter_reservedate_begin" data-date_to="filter_reservedate_end" name="filter_reservedate_begin" class="flatpickr" /> > > <label for="filter_reservedate_end">To</label> > <input size="10" id="filter_reservedate_end" name="filter_reservedate_end" value="" type="text" class="flatpickr" /> >@@ -137,7 +137,7 @@ > <td><input type="radio" name="Column" value="notificationdate" /></td> > <td> > <label for="filter_notificationdate_begin">From</label> >- <input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" data-start_for="filter_notificationdate_end" class="flatpickr" /> >+ <input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" data-date_to="filter_notificationdate_end" class="flatpickr" /> > > <label for="filter_notificationdate_end">To</label> > <input size="10" id="filter_notificationdate_end" name="filter_notificationdate_end" value="" type="text" class="flatpickr" /> >@@ -149,7 +149,7 @@ > <td><input type="radio" name="Column" value="reminderdate" /></td> > <td> > <label for="filter_reminderdate_begin">From</label> >- <input type="text" size="10" id="filter_reminderdate_begin" name="Filter" data-start_for="filter_reminderdate_end" class="flatpickr" /> >+ <input type="text" size="10" id="filter_reminderdate_begin" name="Filter" data-date_to="filter_reminderdate_end" class="flatpickr" /> > > <label for="filter_reminderdate_end">To</label> > <input size="10" id="filter_reminderdate_end" name="filter_reminderdate_end" value="" type="text" class="flatpickr" /> >@@ -161,7 +161,7 @@ > <td><input type="radio" name="Column" value="waitingdate" /></td> > <td> > <label for="filter_waitingdate_begin">From</label> >- <input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" data-start_for="filter_waitingdate_end" class="flatpickr" /> >+ <input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" data-date_to="filter_waitingdate_end" class="flatpickr" /> > > <label for="filter_waitingdate_end">To</label> > <input size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" class="flatpickr" /> >@@ -173,7 +173,7 @@ > <td><input type="radio" name="Column" value="cancellationdate" /></td> > <td> > <label for="filter_cancellationdate_begin">From</label> >- <input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" data-start_for="filter_cancellationdate_end" class="flatpickr" /> >+ <input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" data-date_to="filter_cancellationdate_end" class="flatpickr" /> > > <label for="filter_cancellationdate_end">To</label> > <input size="10" id="filter_cancellationdate_end" name="filter_cancellationdate_end" value="" type="text" class="flatpickr" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index a6d269f71f0..89bdd97e424 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -492,7 +492,7 @@ > [% IF ( reserve_in_future ) %] > <li> > <label for="from">Hold starts on date:</label> >- <input id="reserve_date" name="reserve_date" id="from" size="10" type="text" data-start_for="expiration_date" class="flatpickr futuredate" /> >+ <input id="reserve_date" name="reserve_date" id="from" size="10" type="text" data-date_to="expiration_date" class="flatpickr futuredate" /> > </li> > [% END %] > >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 b79903386ed..7f3615b4585 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >@@ -93,7 +93,7 @@ > <ol> > <li> > <label for="from">From:</label> >- <input type="text" name="begindate" id="from" value="[% begindate | html %]" size="10" maxlength="10" class="flatpickr" data-start_for="to"/> >+ <input type="text" name="begindate" id="from" value="[% begindate | html %]" size="10" maxlength="10" class="flatpickr" data-date_to="to"/> > <label for="to" style="float:none;">To:</label> > <input type="text" name="enddate" id="to" value="[% enddate | html %]" size="10" maxlength="10" class="flatpickr" /> > <span class="hint">[% INCLUDE 'date-format.inc' %]</span> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >index 7f1f7641e80..6c22b7cdd13 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >@@ -327,7 +327,7 @@ fieldset.rows table { clear: none; margin: 0; } > </li> > <li> > <label for="from" class="required"> Subscription start date:</label> >- <input type="text" size="10" id="from" name="startdate" value="[% startdate | $KohaDates %]" class="flatpickr required" data-start_for="to" required="required" /> >+ <input type="text" size="10" id="from" name="startdate" value="[% startdate | $KohaDates %]" class="flatpickr required" data-date_to="to" required="required" /> > </li> > <li> > <label for="to">Subscription end date:</label> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >index f90fdb18d44..f8524e1a563 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-history.tt >@@ -41,7 +41,7 @@ > <tr> > <td>Subscription start date</td> > <td> >- <input type="text" size="10" name="histstartdate" value="[% histstartdate | $KohaDates %]" class="flatpickr" data-start_for="histenddate" /> (start date of the 1st subscription) >+ <input type="text" size="10" name="histstartdate" value="[% histstartdate | $KohaDates %]" class="flatpickr" data-date_to="histenddate" /> (start date of the 1st subscription) > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </td> > </tr> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >index 7a2de0ad16b..1aae1a0b777 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >@@ -230,7 +230,7 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } > </li> > <li> > <label for="from">Date: from </label> >- <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-date_to="to" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > > <label for="to">...to </label> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >index a867c70e928..8f43afc707f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >@@ -214,7 +214,7 @@ > [% END %] > <li> > <label for="from">Publication date: </label> >- <input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | $KohaDates %]" class="flatpickr" data-start_for="to" /> >+ <input id="from" type="text" name="published_on" size="15" value="[% additional_content.published_on | $KohaDates %]" class="flatpickr" data-date_to="to" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt >index b4f0f345c44..d57915bbef4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt >@@ -82,7 +82,7 @@ > > <li> > <label for="from_due_date">Due date from: </label> >- <input type="text" size="10" id="from" name="from_due_date" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="from_due_date" class="flatpickr" data-date_to="to" /> > </li> > > <li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >index bdf9b3586cb..fee9ea6132b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt >@@ -110,7 +110,7 @@ > <ol> > <li> > <label for="from">Start date:</label> >- <input type="text" size="10" id="from" name="start_accession" value="[% from | html %]" class="flatpickr" data-start_for="to" /> >+ <input type="text" size="10" id="from" name="start_accession" value="[% from | html %]" class="flatpickr" data-date_to="to" /> > </li> > <li> > <label for="to">End date:</label> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >index 27b33a5c262..2f4ad0629ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt >@@ -273,7 +273,7 @@ > [% END %] > </li> > <li> >- <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="flatpickr" data-start_for="to" /> >+ <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="flatpickr" data-date_to="to" /> > <div class="hint">[% INCLUDE 'date-format.inc' %]</div> > </li> > <li> >-- >2.25.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 29240
:
126259
|
126286
|
126293
|
126294
|
126295
|
126301
|
126309
|
126341
|
126342
|
126343
|
126472
|
126493
|
126494
|
126495