Bug 16384: Fix cancel link for 'Edit basket'
When you edit the basket from the basket summary page, saving the change brings you back to the basket summary page, but cancelling brings you to the baskets page of the vendor. To test: - Add a basket in acq - Test cancel link returns to baskets page of vendor - Add a basket and save - Edit this basket - Test cancel link now returns to basket summary page Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
3c67f1d9a5
commit
e35b310a1e
1 changed files with 5 additions and 1 deletions
|
@ -127,7 +127,11 @@
|
|||
<fieldset class="action">
|
||||
<input type="hidden" name="op" value="add_validate" />
|
||||
<input type="submit" value="Save" />
|
||||
<a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">Cancel</a>
|
||||
[% IF ( basketno ) %]
|
||||
<a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Cancel</a>
|
||||
[% ELSE %]
|
||||
<a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">Cancel</a>
|
||||
[% END %]
|
||||
</fieldset>
|
||||
</form>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue