Bug 18936: (follow-up) Fix the delete rule buttons
The itemtype and categorycode were always set to '*' Signed-off-by: Minna Kivinen <minna.kivinen@hamk.fi> Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
790ee09c57
commit
2879fb27f0
|
|
@ -174,7 +174,7 @@
|
|||
</td>
|
||||
<td class="actions">
|
||||
<a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
|
||||
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% rule.itemtype || '*' | html %]&categorycode=[% rule.categorycode || '*' | html %]&branch=[% current_branch | html %]"><i class="fa fa-trash"></i> Delete</a>
|
||||
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% i || '*' | html %]&categorycode=[% c || '*' | html %]&branch=[% current_branch | html %]"><i class="fa fa-trash"></i> Delete</a>
|
||||
</td>
|
||||
<td>
|
||||
[% IF note.defined && note != '' %]
|
||||
|
|
@ -289,7 +289,7 @@
|
|||
<td>[% rentaldiscount | html %]</td>
|
||||
<td class="actions">
|
||||
<a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
|
||||
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% rule.itemtype || '*' | uri %]&categorycode=[% rule.categorycode || '*' | uri %]&branch=[% rule.current_branch | uri %]"><i class="fa fa-trash"></i> Delete</a>
|
||||
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% i || '*' | uri %]&categorycode=[% c || '*' | uri %]&branch=[% current_branch | uri %]"><i class="fa fa-trash"></i> Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue