Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Owen Leonard aa49b1bed9
Bug 31566: 'Patrons selected' counter doubles on 'Select all'
This patch refines the JavaScript which is run when the "Select all"
or "Clear all" controls are clicked. The script now checks to see
whether the checkbox is checked before triggering the change function.

To test, apply the patch and perform a patron search in the staff
interface which will return multiple results.

- After the patron search results are displayed, test the "Select
  all" control. The visible search results should all be checked,
  and the "Patrons selected" counter at the top should be
  incremented correctly.
- Clicking the "Select all" control again should have no effect.
  The "Patrons selected" counter should not increment again.
- Test the "Clear all" control to confirm that checkboxes are
  unchecked and the counter updates correctly.
- Test with multiple pages of patron search results to confirm
  that the controls work correctly on any page of results..

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-03 13:36:45 -03:00
..
accountline-details.tt Bug 31254: Add additional fields for accountlines 2022-09-21 18:58:28 -03:00
apikeys.tt
boraccount.tt Bug 31513: (QA follow-up) Keep price formatting on non-editable text fields 2022-09-16 09:49:33 -03:00
deletemem.tt
discharge.tt
discharges.tt
files.tt
holdshistory.tt
housebound.tt
ill-requests.tt
mancredit.tt Bug 31254: Add additional fields for accountlines 2022-09-21 18:58:28 -03:00
maninvoice.tt Bug 31254: Add additional fields for accountlines 2022-09-21 18:58:28 -03:00
member-flags.tt
member-password.tt
member.tt Bug 31566: 'Patrons selected' counter doubles on 'Select all' 2022-10-03 13:36:45 -03:00
memberentrygen.tt Bug 31562: Respect mandatory fields pref 2022-09-22 09:24:49 -03:00
members-update.tt
merge-patrons.tt
moremember-brief.tt
moremember-print.tt
moremember.tt Bug 31486: Redirect to proper page after message deletion 2022-09-12 16:17:21 -03:00
notices.tt
pay.tt Bug 30335: (follow-up) Bind new permissions to pages and tabs 2022-08-31 08:41:01 -03:00
paycollect.tt Bug 31254: Add additional fields for accountlines 2022-09-21 18:58:28 -03:00
printfeercpt.tt
printinvoice.tt
purchase-suggestions.tt
readingrec.tt Bug 23838: (QA follow-up) Move include files 2022-07-22 12:53:50 -03:00
recallshistory.tt Bug 31153: Correct include for patron-search-header 2022-07-18 11:20:06 -03:00
routing-lists.tt
search.tt
statistics.tt
two_factor_auth.tt
update-child.tt