Bug 40205: data-categorycode should always be set to ALL
To test:
1. Add at least one rule to the default-circulation-rules table that contains a patron category.
2. Now add a "Default checkout, hold and return policy" rule.
3. Inspect the "Unset" button:
<a href="#" class="delete-branch-cat btn btn-default btn-xs" data-categorycode="T" data-branch="*"><i class="fa fa-undo"></i> Unset</a>
4. APPLY PATCH and clear browser cache
5. Try again, this time you should be able to delete the rule.
Signed-off-by: Trevor Diamond <trevor.diamond@mainlib.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit d16b9f0311)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
7c8dbf75ec
commit
fbee8b9f0e
|
|
@ -801,7 +801,7 @@
|
|||
<td class="actions">
|
||||
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
|
||||
[% IF ( default_checkout_hold_and_return_policy ) %]
|
||||
<a href="#" class="delete-branch-cat btn btn-default btn-xs" data-categorycode="[% c || '*' | html %]" data-branch="[% current_branch | html %]"><i class="fa fa-undo"></i> Unset</a>
|
||||
<a href="#" class="delete-branch-cat btn btn-default btn-xs" data-categorycode="*" data-branch="[% current_branch | html %]"><i class="fa fa-undo"></i> Unset</a>
|
||||
[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue