Bug 37784: [24.05] (QA follow-up) Add few tables to Koha::Database::Columns
This resolves exceptions like:
Invalid table name accountlines at /usr/share/koha/C4/Reports/Guided.pm line 216.
Test plan:
Go to reports/dictionary.pl
Try to add a new definition for Serials.
Without this patch, you would crash (status 500).
Run t/Koha/Database/Columns.t
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
(cherry picked from commit d485d1f2ae)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
968c6df007
commit
85cc5649b5
|
|
@ -34,7 +34,8 @@ Koha::Database::Columns
|
|||
=head3 columns
|
||||
|
||||
Static method that returns a hashref with mappings from column names
|
||||
to descriptions, for several tables. Currently
|
||||
to descriptions for several tables.
|
||||
Should be extended.
|
||||
|
||||
=over
|
||||
|
||||
|
|
@ -60,6 +61,14 @@ to descriptions, for several tables. Currently
|
|||
|
||||
sub columns {
|
||||
return {
|
||||
# TODO stub for the check in C4::Reports::Guided, get_columns (see BZ 37784)
|
||||
accountlines => {},
|
||||
serial => {},
|
||||
serialitems => {},
|
||||
subscriptionhistory => {},
|
||||
subscriptionroutinglist => {},
|
||||
aqbooksellers => {},
|
||||
|
||||
aqorders => {
|
||||
"basketno" => __("Basket ID (internal)"),
|
||||
"biblionumber" => __("Biblio number (internal)"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue