Sortable tag in a querymodel-contrib.xml file ignored for stateful queries
--------------------------------------------------------------------------

                 Key: NXP-4871
                 URL: https://jira.nuxeo.org/browse/NXP-4871
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Search / Query
    Affects Versions: 5.3 GA
            Reporter: Brian Zoller


The sortable tag within a QueryModel appears to be ignored on those queries 
that are stateful queries.  It should be enabled regardless if its a stateful 
query for those situations where there is no user selected sort column, or if 
the form doesn't allow for any user selection of sorting.

So for example on advanced search if we have a stateful query with this xml 
attribute: 
<sortable value="true" defaultSortColumn="dc:created" 
defaultSortAscending="false" />

We should get a list of documents sorted on creation date descending if the 
user fails to select anything

Scenario 2, we do not allow anyone to pre-select a sort column for a stateful 
query.  As with above, the results should be sorted on creation date 
descending, and then if the user wants to change the sorting, they can click on 
the column headers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to