chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow showing stall names in routetrade
[ypp-sc-tools.main.git]
/
yarrg
/
web
/
query_commod
diff --git
a/yarrg/web/query_commod
b/yarrg/web/query_commod
index 052d019f998b137cd103f806c46bbbb0f3e0fd4a..0bd36cbffa4db9e958ce30cbc84521a181e70862 100644
(file)
--- a/
yarrg/web/query_commod
+++ b/
yarrg/web/query_commod
@@
-97,8
+97,7
@@
foreach my $bs (split /_/, $ARGS{BuySell}) {
my ($ascdesc) = ($bs eq 'buy')
? ('DESC')
: ('ASC');
my ($ascdesc) = ($bs eq 'buy')
? ('DESC')
: ('ASC');
- my $joinkind= $ARGS{ShowBlank} eq 'show'
- ? 'LEFT OUTER JOIN' : 'INNER JOIN';
+ my $joinkind= $ARGS{ShowBlank} ? 'LEFT OUTER JOIN' : 'INNER JOIN';
my $islands= $dbh->prepare(
"SELECT islands.islandid AS islandid, archipelago, islandname,
sum(qty) as tqty
my $islands= $dbh->prepare(
"SELECT islands.islandid AS islandid, archipelago, islandname,
sum(qty) as tqty