Bug 6383 - itemnumber not stored when a lost item is returned and credited to account
Summary: itemnumber not stored when a lost item is returned and credited to account
Status: RESOLVED DUPLICATE of bug 24592
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Kyle M Hall
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 17:47 UTC by Nicole C. Engard
Modified: 2020-02-11 12:57 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2011-05-20 17:47:55 UTC
When a lost item is returned and no longer lost the patron's account is credited, but the item number isn't stored in the itemnumber field in the db.  To see what I mean try this report:

select b.surname, b.firstname, bib.title, i.itemcallnumber, a.description from
accountlines a left join borrowers b on (b.borrowernumber=a.borrowernumber)
left join items i on (i.itemnumber=a.itemnumber) left join biblio bib on
(bib.biblionumber=i.biblionumber) where a.accounttype='CR' and a.description
like 'Item Returned%';

Since the barcode is printing in the description getting the itemnumber in to that table shouldn't be difficult ... I would think.
Comment 1 Joonas Kylmälä 2015-08-26 06:38:17 UTC
Do you know which code does the crediting of the patron when the item is found? I couldn't find it...
Comment 2 Martin Renvoize 2020-02-11 12:57:21 UTC
This will be resolved as a side effect of bug 24592.

*** This bug has been marked as a duplicate of bug 24592 ***