Bugzilla – Attachment 136677 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), 912 bytes, created by
Martin Renvoize
on 2022-06-28 11:31:55 UTC
(
hide
)
Description:
Bug 30677: Cleanup
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2022-06-28 11:31:55 UTC
Size:
912 bytes
patch
obsolete
>From 47783860993d8a482d1a9fab95c245058cb7c46c 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 > >This patch cleans up the regular expression to remove the superflous >double check and use standard delimiters >--- > 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