Bug 25335: group by authorised_value in addbiblio.pl
authorAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 30 Apr 2020 19:35:51 +0000 (19:35 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 15 May 2020 20:01:50 +0000 (20:01 +0000)
commit382c9b4603b16e222e3de8553c7a9074b6943a5c
treeb516396724c66470b969c03fecd984d216ca1309
parent8d1412aff4fb880018c3081cc00d9707df2cc635
Bug 25335: group by authorised_value in addbiblio.pl

To Test:
1- Edit your default framework, connect any subfield outside of the 952 to an authorised value (for example, connect the 942$n to the Yes_No auth value)
2 - Find a record in that framework
3 - Edit the record and find your subfield
4 - The subfield shows a dropdown with no contents
5 - check plack log, see "DBD::mysql::st execute failed: 'koha_kohadev.authorised_values.authorised_value' isn't in GROUP BY "
6 - apply patch, restart all
7 - reload edit record page, see your auth value dropdown has contents

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit e49ecdedd87d8796da77adeaa9e864c43ca90763)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
cataloguing/addbiblio.pl