[koha-commits] main Koha release repository branch master updated. v19.05.00-1308-gdfb33b7
Git repo owner
gitmaster at git.koha-community.org
Wed Nov 13 14:49:59 CET 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via dfb33b7f87f905e044bb6c23bccead0551c1190f (commit)
via 7aa84d28e5aad61126242afe31142d3f3c946337 (commit)
via 5aa8db502cee2a86e6da29d5ab12b924275c9df6 (commit)
from 9e6fe7ac38a4720ca645652c0633e0e6b1cc3a47 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dfb33b7f87f905e044bb6c23bccead0551c1190f
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Nov 13 11:09:37 2019 +0100
Bug 24030: Fix GetItemsForInventory under MySQL 8
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.
We simply follow what the error says, and add items.cn_sort to the SELECT list
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 7aa84d28e5aad61126242afe31142d3f3c946337
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Nov 13 11:09:43 2019 +0100
Bug 24030: Remove OldWay comparaison from GetItemsForInventory.t
This has been introduced to make sure there were no regression at a
given point. But now we are fixing the "old way" so it does not make
sense to keep it any longer
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 5aa8db502cee2a86e6da29d5ab12b924275c9df6
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Nov 13 10:50:41 2019 +0100
Bug 24029: Remove "Truncated incorrect DOUBLE value: '01e'" from marcrecord2csv.t
marc_subfield_structure.tagfield is a varchar(3)
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Items.pm | 2 +-
t/db_dependent/Items/GetItemsForInventory.t | 146 +--------------------------
t/db_dependent/Record/marcrecord2csv.t | 2 +-
3 files changed, 3 insertions(+), 147 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list