aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/guff/models/tag.cr3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guff/models/tag.cr b/src/guff/models/tag.cr
index c828ebe..ed3a122 100644
--- a/src/guff/models/tag.cr
+++ b/src/guff/models/tag.cr
@@ -56,7 +56,8 @@ module Guff
if show_all
filter = "1 = 1"
else
- filter = "a.name NOT LIKE '\\_%'"
+ # exclude internal tags
+ filter = "substr(a.name, 1, 1) <> '_'"
end
# exec query