Views Alpha Pager

The views_alpha_pager is a simple module that implements an alphabet pager (A B C) instead of a numeric pager (1 2 3) for views. This module relies upon a reasonable alpha sort order defined in the view. When one is not defined, it reverts to the numeric pager.

Copy views_alpha_pager.module to your module directory and then enable on the admin modules page. Then, edit your view, and select the Pager option "Alpha". Add a view "Sort" that returns the sorted field in an alphabetic sort (i.e., don't sort by id or date, but rather by title or author).

This module is partially supported by CivicActions.

Average: 5 (1 vote)

Issue Queue

Node Title Sort

5.x-1.4, Code, bug report, critical, patch (code needs review)

It was brought to my attention by a client that the title sort was not being done correctly. After looking at the queries generated on Views with the views_alpha pager, I noticed that the order clause was incorrectly using the following as the first order clause.

 

CVS Commits