Ticket #1302 (closed defect (bug): fixed)
Sort the_category() by cat name
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 2.2 |
| Component: | Template | Version: | 2.1 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: |
Description
it would be nice if the_category() would list its output by name...
Attachments
Change History
- Status changed from new to assigned
- Summary changed from sort the_category() by cat name to Sort the_category() by cat name
- Priority changed from normal to low
- Owner changed from anonymous to rob1n
- Version changed from 1.5.1 to 2.1
- Milestone set to 2.2
- Keywords dev-feedback 2nd-opinion added
I agree. It makes more sense. Or, at least an option of which column to sort by would be nice.
- Keywords has-patch added; dev-feedback 2nd-opinion removed
Apparently it was doing a sort() on an array of objects, which does nothing. I added a new callback function and changed the sort() call to a usort(). Should work now.
comment:4
markjaquith — 5 years ago
- Status changed from assigned to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.

