[Koha-bugs] [Bug 10758] Show bibliographic information of deleted records in acquisitions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 21 19:27:32 CEST 2013


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

--- Comment #15 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
Created attachment 21296
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21296&action=edit
[PATCH] Bug 10758 - Show bibliographic information of deleted records in
acquisitions

This patch must be applied on top of patch 10869
Aim of the patch : display information stored in deletedbiblio and
deletedbiblioitems tables in basket.tt and neworderempty.tt pages
Content :
- modification of database structure : new column "deletedbiblionumber" in
aqorders
- modification of GetOrder, GetOrders and GetCancelledOrders in C4::Acquisition
- modification of DelBiblio in C4::Biblio
- modification of the 2 templates

Maybe some changes must be made to UT, and maybe the performance of my queries
is not optimal.
But please first test to check if it is doing what it is meant for...

To test:
- create a basket with 5 orders using records A,B,C,D (you can use existing
records or create new ones, it does not matter)
- delete 2 orders A & B, but keep the records
- in the catalogue, suppress record A (used by a cancelled order) & D (used by
an active order)
- refresh the basket page : you should see the suppressed orders in Cancelled
Orders block, with readable title and authors of deleted records, and a note
(Deleted record)
- click on "Modifiy" for order D. You should see the title, author, publisher,
date... without the link [Edit Record] but with a message (Deleted record, non
editable)
- click on "Modify" for record C. You should have [Edit record] link
- create an order E.
- delete order E, and the record (link 'delete order and record')
- refresh the basket. you should see the order in the Cancelled Orders, with a
readable title and author


M. Saby

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


More information about the Koha-bugs mailing list