Bug 24518: Fix IE11 partner filtering
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Mon, 27 Jan 2020 12:00:47 +0000 (12:00 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 Apr 2020 17:13:17 +0000 (17:13 +0000)
commit3e2d76bbfaec296179dc9563bdc6024ef2d210a6
tree8e46979e5fde20a3613da3f83d4eb35ebcca2d6f
parent5418efe4824d4ec11e44fc40bda35294190ab0c7
Bug 24518: Fix IE11 partner filtering

This patch adopts the approach detailed in comment #1.

It also fixes a couple of additional minor bugs relating to the ILL
partner list:
- Exclude partners with no email address, we cannot use them
- Quote the "value" attribute to avoid warnings displayed by IE, they
should be quoted anyway!

Test plan: USE IE11
- Apply the patch
- Define 3 ILL partner patrons (patrons in the category that has a code
that matches the <partner_code> value in the ILL config). One patron
should have no email address, the other two should have an email address
- Navigate to "Place request with partners" for an ILL request
- TEST: Observe that the patron with no email address is not displayed
- Try filtering the list
- TEST: Observe that the list filters correctly

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 58590b9ac722685b5a050da367be2e76145e48c7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js