From 3fcb19e6a9bf7db88a6b0f449485de8d8e9319b2 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 13 Nov 2023 12:48:06 +0000 Subject: [PATCH] Bug 34517: (follow-up) Mark test attribute as searched_by_default --- t/db_dependent/selenium/patrons_search.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/selenium/patrons_search.t b/t/db_dependent/selenium/patrons_search.t index 0fde7f7c03b..4bb8a99dc7f 100755 --- a/t/db_dependent/selenium/patrons_search.t +++ b/t/db_dependent/selenium/patrons_search.t @@ -140,6 +140,8 @@ subtest 'Search patrons' => sub { { code => 'my code1', description => 'my description1', + staff_searchable => 0, + searched_by_default => 0 } )->store; my $attribute_type_searchable = Koha::Patron::Attribute::Type->new( @@ -147,7 +149,8 @@ subtest 'Search patrons' => sub { code => 'my code2', description => 'my description2', opac_display => 1, - staff_searchable => 1 + staff_searchable => 1, + searched_by_default => 1 } )->store; $patrons[0]->extended_attributes([ -- 2.30.2