Koha/koha-tmpl/intranet-tmpl/prog/js
Emmi Takkinen 93e02e8178 Bug 28653: Add new method RefreshIssuesTable
On patrons check out or details page, after renewing
loans they don't sort correctly when clicking on "Date due"
tab. Page has to be reloaded so that sorting works.
This patch adds new method RefreshIssuesTable to
checkouts.js. When loans are renewed or checked in, issues
table is reloaded to and due dates are sorted correctly.

To test:
1. Add 3 loans for patron.
2. Change due dates so you they are e.g. 07/01, 07/02, 07/04
3. Make sure you have renewal period set e.g. 5 days and
check your RenewalPeriodBase syspref (I use current date there)
4. Renew loan with date due on 07/01, it should now be 07/07
5. Sort loans by date due
=> Note that order from top to bottom is 07/04->07/02->07/07
or 07/07->07/02->07/04, not 07/02->07/04->07/07 as one would
assume.
6. Apply patch and repeat.
=> Note that issues table is reloaded ("Loading..." pop-up is displayed)
and that due dates are in correct order.

Sponsored-by: Koha-Suomi Oy

Signed-off-by: kelly <kelly@bywatersolutions.com>

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>

Bug 28653: (QA follow-up) Remove debug message used during development

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-09-20 14:04:49 +02:00
..
pages Bug 7703: Don't block bulk hold action on search results if some items can't be placed on hold 2021-08-30 17:02:07 +02:00
acq.js
acquisitions-menu.js
additem.js
addorderiso2709.js
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js
basketgroup.js
biblio_framework.js
browser.js Bug 20529: Remove other occurrences of decodeURIComponent from browser.js 2021-09-01 15:53:41 +02:00
calendar.js Bug 28376: Replace jQueryUI date/timepicker with Flatpickr 2021-08-30 18:08:04 +02:00
cart.js
cashup_modal.js
catalog.js
cataloging.js Bug 28812: Improve robustness of selector 2021-08-30 17:02:07 +02:00
cataloging_additem.js
categories.js Bug 28928: Minor follow-ups to Bug 28376 - Flatpickr introduction 2021-09-01 15:46:01 +02:00
charts.js
checkouts.js Bug 28653: Add new method RefreshIssuesTable 2021-09-20 14:04:49 +02:00
circ-patron-search-results.js
datatables.js
desk_selection.js
elasticsearch-mappings.js
file-upload.js
funds_sorts.js
holds.js
ill-availability-partner.js
ill-availability.js
ill-list-table.js
item_search_fields.js
letter.js
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js
members.js
merge-record.js
messaging-preference-form.js
offlinecirc.js
onboarding.js
register_selection.js
rotating-collections.js
select2.js
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js
subscription-add.js
table_filters.js
tools-menu.js
viewlog.js
xmlControlfield.js
z3950_search.js