Bugzilla – Attachment 123259 Details for
Bug 25260
Merge 'reserves' and 'old_reserves' into a new 'holds' table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25260: ILSDI is tied to old DB structure for holds
Bug-25260-ILSDI-is-tied-to-old-DB-structure-for-ho.patch (text/plain), 1009 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2021-07-28 15:21:34 UTC
(
hide
)
Description:
Bug 25260: ILSDI is tied to old DB structure for holds
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-07-28 15:21:34 UTC
Size:
1009 bytes
patch
obsolete
>From 752b830dda8716d5214dd6d91fc4132da34955eb Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 19 Jul 2021 15:17:59 -0300 >Subject: [PATCH] Bug 25260: ILSDI is tied to old DB structure for holds > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > C4/ILSDI/Services.pm | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 54ef783711..0fd80c97af 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -280,7 +280,15 @@ sub GetRecords { > } > > # Holds >- my $holds = $biblio->current_holds->unblessed; >+ my $view_query = q{ >+ SELECT * >+ FROM >+ reserves >+ WHERE >+ biblionumber = ? >+ }; >+ >+ my $holds = C4::Context->dbh->selectall_arrayref( $view_query, { 'Slice' => {} }, $biblio->biblionumber ); > foreach my $hold (@$holds) { > delete $hold->{'borrowernumber'}; > } >-- >2.32.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 25260
:
103984
|
103985
|
103986
|
103987
|
103988
|
103989
|
103990
|
103991
|
103992
|
103993
|
104053
|
104054
|
104055
|
104056
|
104057
|
117745
|
117746
|
117747
|
117748
|
117749
|
117750
|
117751
|
122761
|
122762
|
122763
|
122764
|
122765
|
122766
|
122767
|
122787
|
122788
|
122789
|
122790
|
122791
|
122792
|
122793
|
122976
|
122977
|
122978
|
122979
|
122980
|
122981
|
122982
|
122983
|
123071
|
123072
|
123073
|
123074
|
123075
|
123076
|
123077
|
123078
|
123079
|
123080
|
123257
|
123258
| 123259 |
123260
|
123261
|
123396