Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 8e7718ee65 Bug 18279: Remove C4::Items::GetLostItems
The JOIN done by this subroutine are not always useful (depending on
item-level_itypes). They also search with LIKE when it is not needed.

Since we have now Koha::Items, we can replace this subroutine with a
call to Koha::Items->search with the correct parameters.

A change in previous behaviours can happen: If a items.itemlost contains
a value that is not defined as a LOST authorised value, the item will
not be displayed. I think it's the expected behaviour, even if it should
not happen in correctly configured installations.

Test plan:
To test with item-level_itypes set to item and biblio:
List the lost items you have on your system, using the different
filters available.
The result table should contain the correct item's info.

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-06-05 11:43:26 -03:00
..
acqui Bug 18525: (bug 14828 follow-up) FIX ordering from suggestion when item-level_itypes = biblio 2017-05-12 08:50:40 -04:00
admin Bug 18314: Add pref FailedLoginAttempts and columns borrowers.login_attempts 2017-05-12 10:58:35 -04:00
authorities Bug 18019: [QA Follow-up] Also catch the delete from authorities detail 2017-03-31 13:08:24 +00:00
basket
batch
catalogue Bug 18554: Adjust a few typos including responsability 2017-05-09 21:03:22 +00:00
cataloguing Bug 18432 : Follow up - Updating to use they/them 2017-04-21 10:56:43 -04:00
circ Bug 18438 - Implemented data-dismiss="modal" in returns.tt so that any warning messages hidden by a hold modal are displayed after it is dismissed 2017-05-19 10:19:36 -04:00
clubs Bug 18529 - Template cleanup of patron clubs pages 2017-05-12 09:02:28 -04:00
common Bug 13835: Popup with searches: results hidden by language menu in footer 2017-04-28 08:35:30 -04:00
course_reserves Bug 18264 - (QA Followup) Remove use of GetBiblioFromItemNumber Replace <blank> with (blank) 2017-03-22 19:04:43 +00:00
errors
help Bug 18554: Adjust a few typos including responsability 2017-05-09 21:03:22 +00:00
installer Bug 17942 [Follow-up] Update style of the web installer with Bootstrap 3 2017-05-09 20:54:31 +00:00
labels
members Bug 18598 - Quick add form doesn't clear values when switching 2017-05-20 14:02:53 +00:00
offline_circ
onboarding Bug 17942 [Follow-up] Update style of the web installer with Bootstrap 3 2017-05-09 20:54:31 +00:00
patron_lists
patroncards Bug 15815: Reword confirm message when removing patrons from card batch 2017-04-24 13:25:40 -04:00
plugins
reports Bug 18279: Remove C4::Items::GetLostItems 2017-06-05 11:43:26 -03:00
reserve Bug 18534 - When IndependentBranches is enabled the pickup location displayed incorrectly on request.pl 2017-05-19 10:33:19 -04:00
reviews
rotating_collections
serials Bug 18035: Front-end changes to serials -> numbering patterns 2017-05-09 20:55:56 +00:00
services
sms
suggestion
tags
test
tools Bug 14399: Results form also needs a few interface changes 2017-05-10 16:23:56 +00:00
virtualshelves Bug 13835: Popup with searches: results hidden by language menu in footer 2017-04-28 08:35:30 -04:00
about.tt Bug 18302: Release team 17.05 2017-03-31 14:16:58 +00:00
auth.tt Bug 18314 (QA Followup) Use OpacBaseURL for password reset link 2017-05-12 10:59:10 -04:00
intranet-main.tt Bug 17855: Onboarding tool 2017-04-28 08:36:19 -04:00