Opened 4 years ago

Last modified 3 years ago

#10219 new enhancement

"Older Entries" and "Newer Entries" links are wrong when entries displayed in ascending order

Reported by: jikamens Owned by:
Priority: low Milestone: Future Release
Component: Template Version:
Severity: minor Keywords: needs-patch
Cc:

Description

I added "?order=ASC" to a tag URL I was sending out to some people, because I wanted them to view a set of blog postings in ascending chronological order, and I noticed that the "Older Entries" and "Newer Entries" links at the bottom of the page were reversed.

I fixed this with the attached changes to the default theme. I don't know if this is the "right" fix, but it worked for me, and if it isn't quite wrong, perhaps at least it will give a more experienced WordPress developer than I an idea for how to fix it properly.

Attachments (1)

ASC-links.patch (3.8 KB) - added by jikamens 4 years ago.
patch to to switch the links when displaying in ascending order

Download all attachments as: .zip

Change History (5)

patch to to switch the links when displaying in ascending order

  • Component changed from General to Template
  • Keywords needs-patch added
  • Milestone changed from Unassigned to 2.9
  • Priority changed from normal to low
  • Severity changed from normal to minor

the functions should be fixed, rather.

  • Milestone changed from 2.9 to 3.0

The functions should probably swap behavior when order is swapped.

Closed #10219 as a duplicate.

  • Milestone changed from 3.0 to Future Release
  • Type changed from defect (bug) to enhancement
Note: See TracTickets for help on using tickets.