Updated search page to consolidate results into one list

This commit is contained in:
2022-12-17 23:43:26 -05:00
parent 421539f38c
commit 5139d8b492
4 changed files with 15 additions and 17 deletions

View File

@ -2,6 +2,10 @@ class Item < Sequel::Model
one_to_many :item_comments
def getLink()
return "/item/#{self.id}"
end
def type_selected?(option)
if self.type == option
return 'selected'

View File

@ -2,4 +2,8 @@ class License < Sequel::Model
one_to_many :license_comments
def getLink()
return "/license/#{self.id}"
end
end