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 60-68 Link Here
60
          <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
60
          <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
61
          <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
61
          <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
62
          <patron_attribute field="XY" code="CODE" />
62
          <patron_attribute field="XY" code="CODE" />
63
          <syspref-overrides>
63
          <syspref_overrides>
64
              <AllFinesNeedOverride>0</AllFinesNeedOverride>
64
              <AllFinesNeedOverride>0</AllFinesNeedOverride>
65
          </syspref-overrides>
65
          </syspref_overrides>
66
      </login>
66
      </login>
67
  </accounts>
67
  </accounts>
68
68
Lines 108-115 in our case "ILS". Link Here
108
     If the same system preference is overridden at the login level, the login
108
     If the same system preference is overridden at the login level, the login
109
     version will take precedence.
109
     version will take precedence.
110
-->
110
-->
111
<syspref-overrides>
111
<syspref_overrides>
112
      <AllFinesNeedOverride>0</AllFinesNeedOverride>
112
      <AllFinesNeedOverride>0</AllFinesNeedOverride>
113
</syspref-overrides>
113
</syspref_overrides>
114
114
115
</acsconfig>
115
</acsconfig>
116
- 

Return to bug 20954