Bugzilla – Attachment 8129 Details for
Bug 7458
New call number allocation plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed off follow up patch
0001-bug_7458-Correct-existing-existing-call-numbers-retr.patch (text/plain), 1.32 KB, created by
Melia Meggs
on 2012-03-09 18:17:36 UTC
(
hide
)
Description:
Signed off follow up patch
Filename:
MIME Type:
Creator:
Melia Meggs
Created:
2012-03-09 18:17:36 UTC
Size:
1.32 KB
patch
obsolete
>From 0d8d2bbf276394e5ac6c0785c36e04cc9626160d Mon Sep 17 00:00:00 2001 >From: Srdjan Jankovic <srdjan@catalyst.net.nz> >Date: Wed, 7 Mar 2012 17:44:01 +1300 >Subject: [PATCH] bug_7458: Correct existing existing call numbers retrieval > >Adjusted to account for duplicate call numbers in the database. Now retrieves next available call number correctly. >--- > cataloguing/value_builder/callnumber-KU.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/cataloguing/value_builder/callnumber-KU.pl b/cataloguing/value_builder/callnumber-KU.pl >index e0fa444..201f9c8 100755 >--- a/cataloguing/value_builder/callnumber-KU.pl >+++ b/cataloguing/value_builder/callnumber-KU.pl >@@ -104,7 +104,7 @@ sub plugin { > if ( my $first = $dbh->selectrow_array("SELECT itemcallnumber > FROM items > WHERE itemcallnumber = ?", undef, $padded) ) { >- my $icn = $dbh->selectcol_arrayref("SELECT itemcallnumber >+ my $icn = $dbh->selectcol_arrayref("SELECT DISTINCT itemcallnumber > FROM items > WHERE itemcallnumber LIKE ? > AND itemcallnumber > ? >-- >1.7.2.5 >
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 7458
:
7288
|
7332
|
7382
|
7384
|
7385
|
7394
|
7406
|
7461
|
7497
|
7668
|
8046
| 8129