projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ffzg/recall_notices.pl: added --interval and --dedup
[koha.git]
/
tools
/
letter.pl
diff --git
a/tools/letter.pl
b/tools/letter.pl
index
caaeb0e
..
0cc0029
100755
(executable)
--- a/
tools/letter.pl
+++ b/
tools/letter.pl
@@
-377,6
+377,8
@@
sub retrieve_letters {
}
$sql .= " WHERE ".join(" AND ", @where) if @where;
+ $sql .= " GROUP BY branchcode,module,code,name,branchname";
+
$sql .= " ORDER BY module, code, branchcode";
return $dbh->selectall_arrayref($sql, { Slice => {} }, @args);