Updated search page to consolidate results into one list
This commit is contained in:
@ -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'
|
||||
|
@ -2,4 +2,8 @@ class License < Sequel::Model
|
||||
|
||||
one_to_many :license_comments
|
||||
|
||||
def getLink()
|
||||
return "/license/#{self.id}"
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user