Closed (fixed)
Project:
Views Alpha Pager
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2007 at 19:15 UTC
Updated:
16 May 2007 at 06:04 UTC
When using views alpha pager together with exposed filters in views, the pager gets destroyed and the results get unpredictable, at least when using table views.
Comments
Comment #1
nikoleta commentedThe same happens when arguments are used with views. I'm using views in an organic group page, but when i use alpha pager instead of a numeric one, all nodes are displayed on the view (not only the group's ones).
Comment #2
douggreen commentedI checked in a patch last night that should fix arguments. If you can confirm this works for arguments, please let me know. (I actually did no testing in regards to the argument processing, but copied code I wrote for the taxonomy_views module, which is where I had recently ran into the same problem).
I haven't looked at the exposed filter problem at all. Is it at all related to the argument?
Comment #3
buddaI've got the exposed filter problem under 5.x
If i enter a value in to the exposed filter the results are narrowed down, and the alpha pager only displays letters to browse to matching nodes. This creates a path like
/jargon?filter0=constructionThe alpha pager seems to ignore the
filter0so clicking on another letter displays the filtered result, but then looses the filter argument (/jargon?apage=M) for any further browsing.Comment #4
douggreen commentedI was able to reproduce and fix the problem with exposed filters. The links should now include the http query arguments. Please check-out the latest development release (1.5.2.13). Since this issue mentions both arguments and exposed filters, could you please test the current version against both these problems. I think that they are both working now. Thanks!
Comment #5
buddaPassing the filter arguments around works great in the 5.x module. Could the same fix be bazck-ported to the 4.7 version to please?
Comment #6
douggreen commenteddone - get the 4.7.x-dev version (views_alpha_pager.module 1.4.2.14)
Comment #7
dman commentedI've got the latest , DRUPAL-5--1-0 [1.5.1.18]
but am encountering errors with the filters also. Hidden in the first case, but also when exposed.
Alpha paging on node title, but wanting to filter on Node:Type (A CCK node) I get:
That is to say:
... FROM node node WHERE (. IN ('')) ORDER BY ...looks to be wrong.Works fine unfiltered.
Trying to enable another filter for 'Node:Published=Yes' makes it worse
WHERE (. IN ('')) AND (. '') ORDERAnd just checking for Node:Published also fails
I'll have a look at the
views_alpha_pager_views_query_alterand thereabouts I guess...I got views.module 1.166.2.32 DRUPAL-5--1-6-BETA3 (apparently) via CVS as that was the last one actually tagged as DRUPAL-5 . I see other branches are also apparently available, I'll see if another branch solves the problem. Could just be compatability.
... investigating
Comment #8
douggreen commentedMake sure if you're using a views filter that has options that it works fine without views_alpha_pager first. t sounds like a view definition problem... the IN() part that is.
If you are using the latest views beta you should get the views_alpha_pager dev release. I'm waiting for views 5.x-1.6 to emerge from Beta before cutting a new tag.
Lastly, if you still have problems, please open a new issue, as this one has already been closed.
Comment #9
dman commentedApologies, it appears I had a corrupted version of views that wasn't behaving even without alpha pager. Ignore me.
Comment #10
(not verified) commented