Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2011 at 15:00 UTC
Updated:
24 Oct 2011 at 18:55 UTC
I'm creating and feeding in a list of nids to display on a views-driven page (by using php to create this list via "default argument type"). It's a display of "most recently-viewed" pages - so I'd like to keep the order. My code is creating a list of nids to "Allow multiple terms per argument," (eg: "1+3+2") but the display I keep getting is that of nids re-sorted asc (eg "1+2+3"). How can I get the nids to display in the order given? ("Sort criteria" isn't an option because the order actually comes from a session variable that's tracking their trek through the site - so no "fields" exist to sort on.)
Comments
Comment #1
dawehnerWell that's impossible from my perspective because at the end the IN() function is used in sql so the result is more or less based on the Sort criteria you have defined in your view.
Comment #2
khosman commentedThanks for that info -
I'll go ahead and compromise, ordering by title.