Bugzilla – Attachment 136680 Details for
Bug 30677
Unknown column 'biblioitem.title' in 'where clause' 500 error in API /api/v1/acquisitions/orders
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30677: Cleanup
Bug-30677-Cleanup.patch (text/plain), 1010 bytes, created by
Marcel de Rooy
on 2022-06-28 11:56:48 UTC
(
hide
)
Description:
Bug 30677: Cleanup
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-06-28 11:56:48 UTC
Size:
1010 bytes
patch
obsolete
>From 507f72d1dd92dee8a8f88693f79a624e08502b81 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 28 Jun 2022 12:29:05 +0100 >Subject: [PATCH] Bug 30677: Cleanup >Content-Type: text/plain; charset=utf-8 > >This patch cleans up the regular expression to remove the superflous >double check and use standard delimiters > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/REST/V1/Acquisitions/Orders.pm | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > >diff --git a/Koha/REST/V1/Acquisitions/Orders.pm b/Koha/REST/V1/Acquisitions/Orders.pm >index 1ed0243e3d..ae9c1bafbc 100644 >--- a/Koha/REST/V1/Acquisitions/Orders.pm >+++ b/Koha/REST/V1/Acquisitions/Orders.pm >@@ -343,10 +343,7 @@ UI. > > sub table_name_fixer { > my ( $self, $q ) = @_; >- >- $q =~ s{biblio\.(?=isbn|ean|publisher)}{biblio\.biblioitem\.}g >- if $q =~ m/.*(isbn|ean|publisher).*/; >- >+ $q =~ s/biblio\.(?=isbn|ean|publisher)/biblio.biblioitem./g; > return $q; > } > >-- >2.20.1
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 30677
:
134724
|
134900
|
134901
|
136677
|
136678
|
136679
| 136680