Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Martin Renvoize 68047132a4 Bug 27256: Update click handler for point of sale
This patch updates the click handler to bind to the table element in the
DOM as aposed to the individual buttons by their classes. We then use
the event propogation and filter on the button class to catch the clicks
we want.

Test plan
1/ Add 22 debit_types that can be sold to the system (or reduce the
datatable paging size)
2/ Confirm that items on the second page of results cannot be added for
sale on the point of sale page.
3/ Apply the patch
4/ Confirm items from the second table page can now be added correctly
5/ Clicking add when navigating to such an item should leave the items
table unmodified.
6/ Clicking aa when the table was filtered should reset the filters
bringing the table back to the first page
7/ Signoff

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-12-26 17:58:35 +01:00
..
acqui Bug 26729: Add focus class to vendor name field in vendor add form 2020-11-04 17:32:35 +01:00
admin Bug 26946: Set maxlength for cash register name 2020-12-09 11:23:43 +01:00
authorities Bug 12533: (follow-up) Add CSS to preview display of authority MARC 2020-11-04 12:59:33 +01:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch
catalogue Bug 26921: Don't generate an invalid custom cover image if the url cannot be generated 2020-12-21 10:07:48 +01:00
cataloguing Bug 27124: JS error "select2Width is not defined" 2020-12-21 10:07:40 +01:00
circ Bug 25534: Add missing td in tfoot in pendingreserves 2020-11-27 09:37:00 +01:00
clubs Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
common Bug 26738: (QA follow-up) Add missing filter 2020-11-04 12:59:32 +01:00
course_reserves Bug 26819: (QA follow-up) authorized_value should be authorised_value 2020-11-25 14:38:11 +01:00
errors
ill Bug 22818: Add generation and sending of notices 2020-11-11 08:35:10 +01:00
installer Bug 24973: Load custom localization file 2020-08-24 12:10:53 +02:00
labels Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
mana
members Bug 24083: Add support for unseen_renewals 2020-11-11 16:09:58 +01:00
offline_circ
onboarding Bug 26449: fix web installer typo 2020-10-08 11:36:32 +02:00
patron_lists
patroncards Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
plugins Bug 25549: Add error reporting to plugins-home 2020-10-22 10:04:30 +02:00
pos Bug 27256: Update click handler for point of sale 2020-12-26 17:58:35 +01:00
reports Bug 27142: Don't interpolate batch_type variable 2020-12-09 11:08:20 +01:00
reserve Bug 26988: Add API route to fetch hold pickup locations and use it in the holds table 2020-11-13 14:20:11 +01:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 26846: Fix regressions - Preselect expected and late serials 2020-11-18 09:34:51 +01:00
services
suggestion Bug 26738: (bug 24819 follow-up) Fix manager selection 2020-11-04 12:59:32 +01:00
tags Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
test
tools Bug 26336: Add hint before and remove select after staging with no items 2020-12-04 15:40:58 +01:00
virtualshelves Bug 26806: Remove 1 remaining occurrence of jquery.checkboxes.min.js 2020-11-03 10:57:35 +01:00
about.tt Bug 27044: Mark the PayPal integration as deprecated on the user interface 2020-11-24 21:27:59 +01:00
auth.tt Bug 24665: (QA follow-up) Fix selection default 2020-11-06 15:55:17 +01:00
intranet-main.tt Bug 26833: Logged in library doesn't show with suggestions count 2020-11-02 11:03:09 +01:00