Bugzilla – Attachment 127607 Details for
Bug 29255
Built-in offline circulation broken with SQL error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29255: Built-in offline circulation broken with SQL error
Bug-29255-Built-in-offline-circulation-broken-with.patch (text/plain), 2.01 KB, created by
Joonas Kylmälä
on 2021-11-13 13:35:52 UTC
(
hide
)
Description:
Bug 29255: Built-in offline circulation broken with SQL error
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2021-11-13 13:35:52 UTC
Size:
2.01 KB
patch
obsolete
>From 367b5589d8df4c00a28901be3a7cef50b48ff9c5 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 15 Oct 2021 18:27:16 +0000 >Subject: [PATCH] Bug 29255: Built-in offline circulation broken with SQL error >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch makes a minor correction to one of the queries used when >synchronizing transactions in the built-in offline circulation system. >This fixes the error: > >DBD::mysql::st execute failed: Column 'branchcode' in field list is >ambiguous at /kohadevbox/koha/offline_circ/download.pl line 84 > >To test you must be using a browser which still supports >applicationCache (Firefox before version 81, Chrome before version 94). > >- Apply the patch and restart services. >- Enable the AllowOfflineCirculation system preference. >- Go to Circulation -> Built-in offline circulation interface. >- Click "Synchronize." >- Click the "Download records" button. >- After the page refreshes you should see updated dates where it lists > "last synced" information. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> >--- > offline_circ/download.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/offline_circ/download.pl b/offline_circ/download.pl >index 87388bf46f..10272cbc3f 100755 >--- a/offline_circ/download.pl >+++ b/offline_circ/download.pl >@@ -36,7 +36,7 @@ my $req_data = $query->param('data') || ''; > my $patrons_query = q{SELECT > borrowers.borrowernumber, cardnumber, surname, firstname, title, > othernames, initials, streetnumber, streettype, address, address2, city, >- state, zipcode, country, email, phone, mobile, fax, dateofbirth, branchcode, >+ state, zipcode, country, email, phone, mobile, fax, dateofbirth, borrowers.branchcode, > categorycode, dateenrolled, dateexpiry, COALESCE(gonenoaddress, 0) AS gonenoaddress, > COALESCE(lost, 0) AS lost, debarred, > debarredcomment, SUM(accountlines.amountoutstanding) AS fine >-- >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 29255
:
126373
|
127179
| 127607