diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-09 01:36:28 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-09 01:36:28 -0500 |
commit | ceb1701b31f20c8c8284dd9546bd5973849673c8 (patch) | |
tree | 8eeddd349f8382db71954a2bcb2ff03af09dc321 | |
parent | 5f3b78f7570e64e7337ebbf6a8d399366c4c75fd (diff) | |
download | old-guff-ceb1701b31f20c8c8284dd9546bd5973849673c8.tar.bz2 old-guff-ceb1701b31f20c8c8284dd9546bd5973849673c8.zip |
exclude internal tags
-rw-r--r-- | src/guff/models/tag.cr | 3 |
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 |