summaryrefslogtreecommitdiff
path: root/help/app/models
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-10-31 17:02:02 -0700
committerjessib <jessib@riseup.net>2012-10-31 17:02:02 -0700
commit8b5f7fb6ef438ef034541d6fb500b5ab7e12f3f2 (patch)
tree568d0048c0625fec84a17e6cef7339a31831c2f3 /help/app/models
parent73a4e9f06840a85225d93734c1f4fb2ebb3b5a93 (diff)
Very basic filtering of tickets based on status. Will want this ajax-y.
Diffstat (limited to 'help/app/models')
-rw-r--r--help/app/models/ticket.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/help/app/models/ticket.rb b/help/app/models/ticket.rb
index 15d4d3d..0407012 100644
--- a/help/app/models/ticket.rb
+++ b/help/app/models/ticket.rb
@@ -37,6 +37,7 @@ class Ticket < CouchRest::Model::Base
design do
view :by_title
+ view :by_is_open
end
validates :title, :presence => true