aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--trunk/etherpad/src/etherpad/control/tag/tag_control.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/etherpad/src/etherpad/control/tag/tag_control.js b/trunk/etherpad/src/etherpad/control/tag/tag_control.js
index 32f01e3..7d38270 100644
--- a/trunk/etherpad/src/etherpad/control/tag/tag_control.js
+++ b/trunk/etherpad/src/etherpad/control/tag/tag_control.js
@@ -102,7 +102,7 @@ function getQueryToSql(tags, antiTags, querySql) {
return {
sql: stringFormat(
- '(select ' +
+ '(select distinct ' +
' p.ID ' +
' from ' +
' %(queryTable)s as p ' +