diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-11-07 15:15:14 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-12-07 10:19:28 +0100 |
commit | 3e7818e93a69d2f628c864e40b00ab0871bff3dc (patch) | |
tree | e505e05331f16f6187c6f36b98e0e2fbce1e16de /lib/api/helpers.rb | |
parent | ff02c63cd3cfbaebb16ed770e377ae318c6be054 (diff) | |
download | gitlab-ce-3e7818e93a69d2f628c864e40b00ab0871bff3dc.tar.gz |
Grapify the issues APIgrapify-issues-api
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 7f94ede7940..898ca470a30 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -217,22 +217,6 @@ module API end end - def issuable_order_by - if params["order_by"] == 'updated_at' - 'updated_at' - else - 'created_at' - end - end - - def issuable_sort - if params["sort"] == 'asc' - :asc - else - :desc - end - end - def filter_by_iid(items, iid) items.where(iid: iid) end |