Bug 24250: Do not duplicate debarred comment in patron screen message AF field
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 17 Dec 2019 10:31:40 +0000 (11:31 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 Apr 2020 19:21:06 +0000 (19:21 +0000)
commit38e82d3a90601145ae60855e632667f7df171a35
tree0c7da234baa22af5496aef88e59205f23a6b269b
parent707f7e6bbcfeece5cf8801cb4f1fbc9c4dc087cf
Bug 24250: Do not duplicate debarred comment in patron screen message AF field

Caused by
  commit bddfed75913a2302c19c00b00a6fe86538af6f9f
  Bug 19933: Remove patronflags - tricky ones

Test plan:
1 - Setup SIP in your testing environment
    https://wiki.koha-community.org/wiki/Koha_SIP2_server_setup
2 - Set a patron to have a restriction
3 - Send a patron status request or patron information command via
    the SIP cli emulator (see link above)
4 - Note the comment on the restriction is sent only once

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 268a62a6d2f8c6b3fe1a07033b533b31fc88db33)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/SIP/ILS/Patron.pm