View | Details | Raw Unified | Return to bug 20954
Collapse All | Expand All

(-)a/C4/SIP/Sip/MsgType.pm (-4 / +4 lines)
Lines 336-347 sub handle { Link Here
336
    foreach my $key ( %ENV ) {
336
    foreach my $key ( %ENV ) {
337
        delete $ENV{$key} if index($key, 'OVERRIDE_SYSPREF_') > 0;
337
        delete $ENV{$key} if index($key, 'OVERRIDE_SYSPREF_') > 0;
338
    }
338
    }
339
    foreach my $key ( keys %{ $config->{'syspref-overrides'} } ) {
339
    foreach my $key ( keys %{ $config->{'syspref_overrides'} } ) {
340
        $ENV{"OVERRIDE_SYSPREF_$key"} = $config->{'syspref-overrides'}->{$key};
340
        $ENV{"OVERRIDE_SYSPREF_$key"} = $config->{'syspref_overrides'}->{$key};
341
    }
341
    }
342
    foreach my $key ( keys %{ $server->{account}->{'syspref-overrides'} } ) {
342
    foreach my $key ( keys %{ $server->{account}->{'syspref_overrides'} } ) {
343
        $ENV{"OVERRIDE_SYSPREF_$key"} =
343
        $ENV{"OVERRIDE_SYSPREF_$key"} =
344
          $server->{account}->{'syspref-overrides'}->{$key};
344
          $server->{account}->{'syspref_overrides'}->{$key};
345
    }
345
    }
346
346
347
    #
347
    #
(-)a/etc/SIPconfig.xml (-5 / +4 lines)
Lines 61-69 Link Here
61
          <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
61
          <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
62
          <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
62
          <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
63
          <patron_attribute field="XY" code="CODE" />
63
          <patron_attribute field="XY" code="CODE" />
64
          <syspref-overrides>
64
          <syspref_overrides>
65
              <AllFinesNeedOverride>0</AllFinesNeedOverride>
65
              <AllFinesNeedOverride>0</AllFinesNeedOverride>
66
          </syspref-overrides>
66
          </syspref_overrides>
67
      </login>
67
      </login>
68
  </accounts>
68
  </accounts>
69
69
Lines 109-116 in our case "ILS". Link Here
109
     If the same system preference is overridden at the login level, the login
109
     If the same system preference is overridden at the login level, the login
110
     version will take precedence.
110
     version will take precedence.
111
-->
111
-->
112
<syspref-overrides>
112
<syspref_overrides>
113
      <AllFinesNeedOverride>0</AllFinesNeedOverride>
113
      <AllFinesNeedOverride>0</AllFinesNeedOverride>
114
</syspref-overrides>
114
</syspref_overrides>
115
115
116
</acsconfig>
116
</acsconfig>
117
- 

Return to bug 20954