Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
6.x-2.3
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
13 Mar 2009 at 20:12 UTC
Updated:
19 Aug 2010 at 23:35 UTC
There ought to be some kind of note around Sort Criteria that warns users that using the default sorting with the table style will completely override any sorts added to the View. A good place to put it might be sort.html.
Comments
Comment #1
merlinofchaos commentedThere is a checkbox in the table style that controls this behavior.
Comment #2
Island Usurper commentedYes, I know, but my point is that it took me a while to figure out what was causing the behavior. I kept fiddling with the Sort Criteria because I didn't remember that the table style had a default sort set, and that it was overriding the view's query.
I'm not looking to change the behavior, but just add a note into the inline help to explain what could happen. Since this happened in a default view I've put in my module, I'm going to tweak it to make more sense. Other people might make this mistake, though, so I want to help ease their confusion.
Comment #3
Steel Rat commentedI have to agree with the poster. I had no idea why the sort criteria wasn't working at all until I saw this.
Comment #4
mdeaves commentedThanks you sooo much. It is a very good point and I truly appreciate you starting this thread!
Comment #5
fnikola commented+1 for me on this documentation updates. I ran across this too and the Sort Criteria help should indicate that the default sort in the table style will override this behavior.
Comment #6
alynner commentedI just spent about an hour trying to figure out why sort criteria was having zero effect, thanks for this post and I agree, it would be nice to have been notified!
Comment #7
dawehnerSo someone of you pick this up and write the documentation, this would be cool :)
Comment #8
esmerel commentedComment #9
esmerel commentedThere is a patch in #823330: Improve the Advance Help Documentation: Display Section that will clarify this in the documentation.
Comment #10
esmerel commentedblast, I updated the wrong issue.
Comment #11
esmerel commentedNo, actually I didn't update the wrong one; the patch will update one of the main adv help pages to note that overrides are across the set.