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.

Comments

restyler’s picture

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.

restyler’s picture

the bug can only be reproduced when views ajax enabled.

David Lesieur’s picture

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
Bodo Maass’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta2

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

Bodo Maass’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev