projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09e3308
)
bug: query squashes issues.timestamp which circulation.pl needs to sort todaysissues
author
Michael Hafen
<mdhafen@tech.washk12.org>
Wed, 10 Sep 2008 19:12:56 +0000
(13:12 -0600)
committer
Galen Charlton
<galen.charlton@liblime.com>
Mon, 6 Oct 2008 02:03:21 +0000
(21:03 -0500)
Little change to the query so we get the right timestamp to sort on.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Members.pm
patch
|
blob
|
history
diff --git
a/C4/Members.pm
b/C4/Members.pm
index
6c66dd9
..
8a30ca6
100644
(file)
--- a/
C4/Members.pm
+++ b/
C4/Members.pm
@@
-998,7
+998,7
@@
sub GetPendingIssues {
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare(
- "SELECT * FROM issues
+ "SELECT *
,issues.timestamp as timestamp
FROM issues
LEFT JOIN items ON issues.itemnumber=items.itemnumber
LEFT JOIN biblio ON items.biblionumber=biblio.biblionumber
LEFT JOIN biblioitems ON items.biblioitemnumber=biblioitems.biblioitemnumber