Bugzilla – Attachment 138911 Details for
Bug 31319
Remove GetItemsInfo from tags/list.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31319: (QA follow-up) Search items directly (biblio not used yet)
Bug-31319-QA-follow-up-Search-items-directly-bibli.patch (text/plain), 1.02 KB, created by
Nick Clemens (kidclamp)
on 2022-08-09 13:22:12 UTC
(
hide
)
Description:
Bug 31319: (QA follow-up) Search items directly (biblio not used yet)
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-08-09 13:22:12 UTC
Size:
1.02 KB
patch
obsolete
>From 89bb5a06911f7c81f2b892b19d901f18ecf5f7e8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 9 Aug 2022 13:21:05 +0000 >Subject: [PATCH] Bug 31319: (QA follow-up) Search items directly (biblio not > used yet) > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > tags/list.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/tags/list.pl b/tags/list.pl >index b9aec1aa19..9a635ec13e 100755 >--- a/tags/list.pl >+++ b/tags/list.pl >@@ -60,8 +60,7 @@ else { > for ( @{$taglist} ) { > # FIXME We should use Koha::Biblio here > my $dat = &GetBiblioData( $_->{biblionumber} ); >- my $biblio = Koha::Biblios->find($dat->{biblionumber}); >- my $items = $biblio->items->search_ordered; >+ my $items = Koha::Items->search_ordered({ biblionumber => $dat->{biblionumber} }); > $dat->{biblionumber} = $_->{biblionumber}; > $dat->{tag_id} = $_->{tag_id}; > $dat->{items} = $items; >-- >2.30.2
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 31319
:
138829
|
138902
|
138910
|
138911
|
138914