Closed (duplicate)
Project:
Views Alpha Pager
Version:
5.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2007 at 08:29 UTC
Updated:
2 May 2007 at 10:11 UTC
When a node title starts with a number the pager fails to print the links. All letters are printed as class="pager-current" and the list of letters shows 0 A B C ... Z even when there are nodes that start with other numbers. A quick fix was to change this:
if ($item == $current) {
to
if ($item === $current) {
in views_alpha_pager.module on the theme_alpha_pager function. I haven't found a solution for the display of 0 instead of the first characer numbers of the nodes. Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| number_1.patch | 490 bytes | cesarizu |
Comments
Comment #1
douggreen commentedActually, that's not quite the fix. Please get the latest 5.x-dev branch. See 136431