Koha-clms/opac/svc
Nick Clemens eb13d9dccc Bug 22030: Use preference to determine username sent to overdrive
Overdrive configuration generally defaults to cardnumber, however, they
have confirmed that some libraries use usernames. We need to allow for
both scenarios.

To test:
1 - Have an OverDrive account setup with SIP authentication
    Note: You can apply for a testing account at developer.overdrive.com
    and setup an environment
2 - Fill in all your OverDrive system preferences
3 - Test with a patron whose username is their cardnumber
4 - Confirm their overdrive account tab on opac loads
5 - Change the username to be another value like "borked_wont_work"
6 - Note the overdrive account tab won't load
7 - Apply patch, update database, not new system preference
OverDriveUsername (default to 'cardnumber)
8 - Note the OD account loads successfully
9 - Change the system preference to 'user name' - the account load fails

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 96adab7af8)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 274271b59d)

Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
2019-01-11 18:54:41 +00:00
..
auth Bug 18118: Unexpected behaviour with 'GoogleOpenIDConnect' and 'OpacPublic' syspref combination. 2017-10-27 14:09:02 -03:00
club Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00
patron
…
checkout_notes Bug 18915: Renaming svc/patron_notes to svc/checkout_notes 2018-01-15 12:14:00 -03:00
overdrive Bug 22030: Use preference to determine username sent to overdrive 2019-01-11 18:54:41 +00:00
overdrive_proxy Bug 19991: use Modern::Perl in OPAC perl scripts 2018-09-05 11:14:29 +01:00
report Bug 21115: Add multi_param call and add divider in cache key in svc/report and opac counterpart 2018-10-17 11:55:53 +01:00
shelfbrowser.pl
…
suggestion Bug 19991: use Modern::Perl in OPAC perl scripts 2018-09-05 11:14:29 +01:00