Bug 40381: Remove warning from Koha/SearchEngine/Elasticsearch/ExportConfig.t
DBIx::Class::Storage::DBI::insert(): Missing value for primary key column 'filter' on SearchMarcToField - perhaps you forgot to set its 'is_auto_increment' attribute during add_columns()? Treating 'filter' implicitly as an autoinc, and attempting value retrieval at /kohadevbox/koha/Koha/SearchField.pm line 42 Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
9d17ce951d
commit
c2df4af991
|
|
@ -17,7 +17,8 @@
|
|||
|
||||
use Modern::Perl;
|
||||
|
||||
use Test::More tests => 19;
|
||||
use Test::More tests => 20;
|
||||
use Test::NoWarnings;
|
||||
|
||||
use Koha::Database;
|
||||
use Koha::SearchFields;
|
||||
|
|
@ -59,7 +60,8 @@ $search_field->add_to_search_marc_maps(
|
|||
{
|
||||
facet => 0,
|
||||
suggestible => 0,
|
||||
sort => 0
|
||||
sort => 0,
|
||||
filter => '',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
@ -76,7 +78,8 @@ $search_field->add_to_search_marc_maps(
|
|||
{
|
||||
facet => 0,
|
||||
suggestible => 0,
|
||||
sort => 0
|
||||
sort => 0,
|
||||
filter => '',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
@ -93,7 +96,8 @@ $search_field->add_to_search_marc_maps(
|
|||
{
|
||||
facet => 0,
|
||||
suggestible => 1,
|
||||
sort => 0
|
||||
sort => 0,
|
||||
filter => '',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue