[Koha-bugs] [Bug 24030] New: GetItemsForInventory failing with "ORDER BY clause is not in SELECT list"
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 13 11:07:22 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24030
Bug ID: 24030
Summary: GetItemsForInventory failing with "ORDER BY clause is
not in SELECT list"
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Test Suite
Assignee: chris at bigballofwax.co.nz
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
Depends on: 24002
t/db_dependent/Items/GetItemsForInventory.t .. 1/9 DBD::mysql::st execute
failed: Expression #1 of ORDER BY clause is not in SELECT list, references
column 'koha_kohadev.items.cn_sort' which is not in SELECT list; this is
incompatible with DISTINCT [for Statement "
SELECT DISTINCT(items.itemnumber), barcode, itemcallnumber, title,
author, biblio.biblionumber, biblio.frameworkcode, datelastseen, homebranch,
location, notforloan, damaged, itemlost, withdrawn, stocknumber
FROM items
LEFT JOIN biblio ON items.biblionumber = biblio.biblionumber
LEFT JOIN biblioitems on items.biblionumber = biblioitems.biblionumber
ORDER BY items.cn_sort, itemcallnumber, title"] at
/kohadevbox/koha/C4/Items.pm line 838.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24002
[Bug 24002] Test suite is failing on MySQL 8
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list