Active
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 May 2011 at 15:54 UTC
Updated:
21 Jun 2013 at 13:58 UTC
Hello,
I did try a search in the issues but didnt find anything.
Is there a way to remember last user's sort on table with multiple columns?
e.g. if the user sorted a list by lastname desc.
There is a remember option for exposed filters, but i dont find any for table sort (or VBO table sort).
Thank you!
Comments
Comment #1
giorgio79 commented+1
Comment #2
merlinofchaos commentedSorry, there's no way to do this. Only one column can be active at a time.
Comment #3
ludo.rOk, only one column at a time. This makes sense.
But what about having a remember option for the sorted column?
Comment #4
zbricoleur commentedsubscribing
Comment #5
ludo.rMaybe could have some feedback on this?
Is it feasable for one single column?
PS: setting issue active to have more visibility.
Comment #6
ZuluWarrior commentedI'd like to see this.
I have a view, with a page on the path /selector for example and a null contextual filter. it displays content titles in a list and exposes filters and sort criteria. Each title in the list links to the view but adds its node i as a contextual filter, for instance /selector/1. Regardless of the contextual filter part the list is displayed.
This view has an attachment, the attachment uses the contextual filter as a node ID and displays the title. So for /selector/1 it would display node 1's title.
so we end up with a list of node titles+links along the bottom, and the 'selected' node title in the attachment:
Switching between /selector and selector/1 etains the filter values, but not the search order (or the results per page).
So I would like to see the search order & selector 'remembered' so that linking with contextual filters retains the sort setting.
btw, I'm using views3 drupal7.8
Comment #7
Gaelan commentedDon't have this in 7 either.
Comment #8
couturier commentedThis issue is related: http://drupal.org/node/1290272
Comment #9
lendudeTwo different customers requested this functionality, so made a little module that adds this.
Added a checkbox to the table settings where you can switch it on per view/display.
Tested it on 2 different sites, but with some fairly basic Views, so no idea if it will hold up to the more fancy stuff.
I put it in my sandbox
Len