Browse Source

Bug 25761: (QA follow-up) Consistent flag names

This follow-up updates the config flag to be consistent with bug 24449
and updates the debian template file to match too.

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Martin Renvoize 10 months ago
committed by Jonathan Druart
parent
commit
ea725f4724
  1. 2
      C4/SIP/Sip/MsgType.pm
  2. 3
      debian/templates/SIPconfig.xml
  3. 4
      etc/SIPconfig.xml

2
C4/SIP/Sip/MsgType.pm

@ -1676,7 +1676,7 @@ sub patron_status_string {
denied( $patron->hold_ok ),
boolspace( $patron->card_lost ),
boolspace( $patron->too_many_charged ),
$server->{account}->{disable_too_many_overdue} ? q{ } : boolspace( $patron->too_many_overdue ),
$server->{account}->{overdues_block_checkout} ? boolspace( $patron->too_many_overdue ) : q{ },
boolspace( $patron->too_many_renewal ),
boolspace( $patron->too_many_claim_return ),
boolspace( $patron->too_many_lost ),

3
debian/templates/SIPconfig.xml

@ -51,8 +51,9 @@
<login id="lpl-sc-beacock" password="xyzzy"
delimiter="|" error-detect="enabled" institution="LPL"
send_patron_home_library_in_af="1"
av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"
holds_block_checkin="0"
av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]" >
overdues_block_checkout="1">
<screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
<screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
</login>

4
etc/SIPconfig.xml

@ -60,9 +60,9 @@
da_field_template="[% patron.surname %][% IF patron.firstname %], [% patron.firstname %][% END %]"
av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"
hide_fields="BD,BE,BF,PB"
disable_too_many_overdue="1"
register_id=''
holds_block_checkin="0">
holds_block_checkin="0"
overdues_block_checkout="1">
<screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
<screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
<patron_attribute field="XY" code="CODE" />

Loading…
Cancel
Save