[Koha-bugs] [Bug 10869] can't delete order line if title deleted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 26 11:53:32 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10869

--- Comment #13 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 21480
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21480&action=edit
Bug 10869: Allow the deletion of order line if the record is deleted

This patch fixes 2 issues :
(medium issue) It is not possible to delete an order in a basket if the biblio
record is deleted.
(minor issue) There is a useless hyperlink around "Deleted bibliographic
notice", and "notice" is a frenchism for "record"

I had to change the behavior of Acquisitions::DelOrder (which is used only by
addorder.pl file), a line in addorder.pl, and a few lines in template
basket.tt.

To test :
1. Fill a basket with some records (some records with items or holds, some
without items)
2. Supress one of the record
3. In the basket (refresh the screen) check that "Deleted bibliographic notice"
line was replaced with "Deleted bibliographic record", without hyperlink
arround
4. Delete this order with the link "Delete order" to the right column of the
table
5. Check there is a new line in the "Deleted orders" table
6. Check there is no regression : felete an other order (one with no item),
then check you cannot delete an order with an item (like before patch)

Signed-off-by: Cedric Vita <cedric.vita at dracenie.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list