Updated search page to consolidate results into one list
This commit is contained in:
1 parent
421539f38c
commit
5139d8b492
4 files changed
+15
-17
No files matched your search
@@ -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