]> git.koha-community.org Git - koha.git/commit
Bug 32648: Avoid skipping record or hiding item
authorNick Clemens <nick@bywatersolutions.com>
Fri, 31 Mar 2023 10:44:45 +0000 (10:44 +0000)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 17:34:39 +0000 (18:34 +0100)
commit58b5baa50451c441d541bd7ca0fa2a293148e73a
treee2f27828c6a7e7c8948ac5420d3679987763fe3d
parentb37b8556384a541f03046bfc16febf32098c3a3e
Bug 32648: Avoid skipping record or hiding item

It seems that depending on other tests, the item could be hidden from the record, or
the entire record hidden because of the way we count hidden items.

I add a mock for the two HIddenItems prefs and hardcode an xml record
to avoid problematic data from test builder

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 3db7173dde0c8221c3628a0624c45f08d3f256fe)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
t/Search.t