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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 May 2020 07:52:07 +0000 (08:52 +0100)
commit0e34f36d47fb2a5e7834b5f6b73e453d487d67b7
tree50edbade0778e27bafe024f2595e1106efdb000f
parent3f752ce2b85bf600cca2e59b1bcd69a5854016aa
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>
cataloguing/addbiblio.pl