Bugzilla – Attachment 72267 Details for
Bug 19979
Search.t fails on facet info with one branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19979: ->count and be called directly on Koha::Objects
Bug-19979--count-and-be-called-directly-on-KohaObj.patch (text/plain), 1.32 KB, created by
Jonathan Druart
on 2018-02-27 14:40:52 UTC
(
hide
)
Description:
Bug 19979: ->count and be called directly on Koha::Objects
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-02-27 14:40:52 UTC
Size:
1.32 KB
patch
obsolete
>From 3f3b31af86f2789a63dd9c346c10f3e958de7e51 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 27 Feb 2018 11:40:13 -0300 >Subject: [PATCH] Bug 19979: ->count and be called directly on Koha::Objects > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Search.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index ba5e5311df..a1ec226694 100644 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -866,7 +866,7 @@ if ( $indexing_mode eq 'dom' ) { > 'label_value' => "Titles" } > }; > delete $expected_facets_info_marc21->{holdingbranch} >- if Koha::Libraries->search->count == 1; >+ if Koha::Libraries->count == 1; > is_deeply( $facets_info, $expected_facets_info_marc21, > "_get_facets_info returns the correct data"); > >@@ -962,7 +962,7 @@ sub run_unimarc_search_tests { > 'label_value' => "Titles" } > }; > delete $expected_facets_info_unimarc->{holdingbranch} >- if Koha::Libraries->search->count == 1; >+ if Koha::Libraries->count == 1; > is_deeply( $facets_info, $expected_facets_info_unimarc, > "_get_facets_info returns the correct data"); > >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19979
:
70550
|
72266
| 72267