]> git.koha-community.org Git - koha.git/commit
Bug 10240: (follow-up) don't display patrons as lost or gone-no-address incorrectly
authorGalen Charlton <gmc@esilibrary.com>
Fri, 11 Oct 2013 01:46:47 +0000 (01:46 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 11 Oct 2013 01:57:05 +0000 (01:57 +0000)
commit57848b642bd60d9aade05d1c5b66784e9de28698
tree2d892c85ce3b4ef0d5e9b21fbccb0c99c88d8815
parentc1ec92f68572860e2c828083bd746c8d007280e7
Bug 10240: (follow-up) don't display patrons as lost or gone-no-address incorrectly

Because borrowers.lost and borrowers.gonenoaddress are nullable, when
downloading patron information for an offline patron sync, convert null
values to zero.

To test:

[1] Set borrowers.lost to NULL for a patron.
[2] Do an offline sync, then disconnect network access (or
    stop the webserver) and enter the offline interface.
[3] Try checking out to the test patron.  A warning will
    (incorrectly) disply stating that the patron's card is lost.
[4] Apply the patch.
[5] Do steps 2 and 3 again.  This time, there will be lost card
    warning.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
offline_circ/download.pl