Sorting or paging an ajax view loads all nodes, not only nodes restricted by search

restyler - March 24, 2009 - 14:57
Project:Faceted Search
Version:6.x-1.x-dev
Component:Views integration
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Create a view, set it display type to 'table', and enable 'sorting' by some fields. If you click on sorting on search result, the view will upload all nodes, not nodes restricted by search.

#1

restyler - April 1, 2009 - 15:49
Title:'Table' view, when sorting by column - the view loads all nodes, not only nodes restricted by search» 'Table' view, when sorting by column or paginating - the view loads all nodes, not only nodes restricted by search
Priority:normal» critical

The bug also breaks the pagination of search results completely.

#2

restyler - April 2, 2009 - 13:29

the bug can only be reproduced when views ajax enabled.

#3

David Lesieur - June 26, 2009 - 22:57
Title:'Table' view, when sorting by column or paginating - the view loads all nodes, not only nodes restricted by search» Sorting or paging an ajax view loads all nodes, not only nodes restricted by search

#4

Bodo Maass - September 22, 2009 - 13:19

I just encountered this bug and found this issue report. After reading it, I turned off Ajax for my view. This allows sorting for node title. However, I have a view that uses relationships, and when sorting a column with a relationship, all terms are loaded, not just the ones restricted by the search.

So it is not simply a matter of turning off Ajax.

Edit: I realized that this is actually a different problem: http://drupal.org/node/584478

#5

Bodo Maass - September 22, 2009 - 12:53
Version:6.x-1.0-beta2» 6.x-1.x-dev
 
 

Drupal is a registered trademark of Dries Buytaert.