Bugzilla – Attachment 19739 Details for
Bug 10608
Add accessioning date information to catalogue report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
perl changes to add accession date to the catalgoue report
catalogue_stats_perl.patch (text/plain), 658 bytes, created by
Nicholas van Oudtshoorn
on 2013-07-18 01:02:30 UTC
(
hide
)
Description:
perl changes to add accession date to the catalgoue report
Filename:
MIME Type:
Creator:
Nicholas van Oudtshoorn
Created:
2013-07-18 01:02:30 UTC
Size:
658 bytes
patch
obsolete
>--- a/reports/catalogue_stats.pl 2013-06-23 02:37:39.000000000 +0800 >+++ b/reports/catalogue_stats.pl 2013-07-18 08:51:05.996273644 +0800 >@@ -449,6 +449,15 @@ > @$filters[12]=~ s/\*/%/g; > $strcalc .= " AND items.ccode LIKE '" . @$filters[12] ."'"; > } >+ if (@$filters[15]){ >+ @$filters[15]=~ s/\*/%/g; >+ $strcalc .= " AND items.dateaccessioned > '" .@$filters[15] ."'"; >+ } >+ if (@$filters[16]){ >+ @$filters[16]=~ s/\*/%/g; >+ $strcalc .= " AND items.dateaccessioned < '" .@$filters[16] ."'"; >+ } >+ > > $strcalc .= " group by $linefield, $colfield order by $linefield,$colfield"; > $debug and warn "SQL: $strcalc";
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 10608
:
19738
| 19739