projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8936b97
)
Properly filter year
author
Joey Schulze
<joey@infodrom.org>
Wed, 24 Mar 2010 16:54:20 +0000
(16:54 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 24 Mar 2010 16:54:20 +0000
(16:54 +0000)
src/InfoCon/buch/infocon
patch
|
blob
|
history
diff --git
a/src/InfoCon/buch/infocon
b/src/InfoCon/buch/infocon
index
afdf50c
..
a8bfaca
100755
(executable)
--- a/
src/InfoCon/buch/infocon
+++ b/
src/InfoCon/buch/infocon
@@
-1,7
+1,7
@@
#! /usr/bin/perl
# infocon - Administration tool for InfoCon
#! /usr/bin/perl
# infocon - Administration tool for InfoCon
-# Copyright (c) 1998-2003,2005-8 Martin Schulze <joey@infodrom.org>
+# Copyright (c) 1998-2003,2005-8
,10
Martin Schulze <joey@infodrom.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-132,9
+132,9
@@
sub sales_list
if ($opt_year) {
if ($where) {
if ($opt_year) {
if ($where) {
- $where .= " AND date
~* '$opt_year
'";
+ $where .= " AND date
LIKE '$opt_year%
'";
} else {
} else {
- $where .= "date
~* '$opt_year
'";
+ $where .= "date
LIKE '$opt_year%
'";
}
}
}
}