about summary refs log tree commit diff
path: root/app/views/relationships/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/relationships/show.html.haml')
-rw-r--r--app/views/relationships/show.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/relationships/show.html.haml b/app/views/relationships/show.html.haml
index 63745119a..e6fff0ad6 100644
--- a/app/views/relationships/show.html.haml
+++ b/app/views/relationships/show.html.haml
@@ -25,11 +25,18 @@
       %li= filter_link_to t('generic.all'), activity: nil
       %li= filter_link_to t('relationships.dormant'), activity: 'dormant'
 
+  .filter-subset
+    %strong= t 'generic.order_by'
+    %ul
+      %li= filter_link_to t('relationships.most_recent'), order: nil
+      %li= filter_link_to t('relationships.last_active'), order: 'active'
+
 = form_for(@form, url: relationships_path, method: :patch) do |f|
   = hidden_field_tag :page, params[:page] || 1
   = hidden_field_tag :relationship, params[:relationship]
   = hidden_field_tag :status, params[:status]
   = hidden_field_tag :activity, params[:activity]
+  = hidden_field_tag :order, params[:order]
 
   .batch-table
     .batch-table__toolbar