mirror of
https://github.com/neocities/neocities.git
synced 2025-06-28 23:23:22 +02:00
initial plan structure, and some misc fixes
This commit is contained in:
parent
555e64ac97
commit
86990f3535
10 changed files with 129 additions and 24 deletions
|
@ -13,7 +13,7 @@ class Tag < Sequel::Model
|
|||
end
|
||||
|
||||
def self.suggestions(name, limit=3)
|
||||
Tag.filter(name: /^#{name}/).
|
||||
Tag.filter(name: /^#{name}/i).
|
||||
order(:name).
|
||||
limit(limit).
|
||||
all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue