aboutsummaryrefslogtreecommitdiffstats
path: root/trunk
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2010-03-12 21:38:21 +0100
committerEgil Moeller <egil.moller@freecode.no>2010-03-12 21:38:21 +0100
commite15b217f5516c329466f67d2bdab348aedfe07ef (patch)
treea99a4c87c88161afe59f251be87687ff68cad473 /trunk
parent15d2e99f5ac0bc2491da1c719b6fa89f5cd75b36 (diff)
downloadetherpad-e15b217f5516c329466f67d2bdab348aedfe07ef.tar.gz
etherpad-e15b217f5516c329466f67d2bdab348aedfe07ef.tar.xz
etherpad-e15b217f5516c329466f67d2bdab348aedfe07ef.zip
select distinct in tag search
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 ' +