projects
/
google-map-tiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af19b2
)
fix count from query if needed
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 3 Apr 2011 20:07:30 +0000
(22:07 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 3 Apr 2011 20:07:30 +0000
(22:07 +0200)
koha.pl
patch
|
blob
|
history
diff --git
a/koha.pl
b/koha.pl
index
8310329
..
1394cea
100755
(executable)
--- a/
koha.pl
+++ b/
koha.pl
@@
-79,6
+79,8
@@
limit 100
});
$sth->execute( $city, $country );
+ $count = $sth->rows if $sth->rows > $count;
+
my $descript = "<b>$city</b> <em>$country</em> $count items\n<ol>";
while ( my $row = $sth->fetchrow_hashref ) {