diff options
author | Azul <azul@riseup.net> | 2017-10-17 14:05:59 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2017-10-17 14:05:59 +0200 |
commit | 47df0b296b282d0fe554c3b596b366c5403c9588 (patch) | |
tree | b30e6372edca16a2fb15696bbe6a497468aa8887 /app/models | |
parent | 9414e8ddf4ce7e951a6dc9130d99fa12c5696b94 (diff) |
feat: sort invite codes by last update
They used to be sorted by the code which was not helpful
fixes #8806
requires deploy of new design docs to the platform
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/invite_code.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/invite_code.rb b/app/models/invite_code.rb index 9c6df66..8a56484 100644 --- a/app/models/invite_code.rb +++ b/app/models/invite_code.rb @@ -12,6 +12,8 @@ class InviteCode < CouchRest::Model::Base design do view :by_invite_code view :by_invite_count + view :by_created_at + view :by_updated_at end def initialize(attributes = {}, options = {}) |