Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 Today 00:42:09

agovella
Member
From: Houston, TX
Registered: 2005-05-01
Posts: 103
Website Twitter

article_custom not sorting by Section correctly

In this image, the “Method” column shows the section of the article. It should sort ascending, but you’ll note it’s showing J before I.

This is my opening article_custom tag:
<txp:article_custom category=“Method” sort=“Section asc, Title asc”>

It’s not really breaking the page. Just looks wrong. Any ideas? I’m not even sure how to troubleshoot.

You can see the live page here:
https://pxd.gd/method-index

Last edited by agovella (Today 00:44:23)

Offline

#2 Today 05:10:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,622
Website GitHub

Re: article_custom not sorting by Section correctly

It sorts by section name, not title. Please double check the section names match their titles.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#3 Today 07:40:56

agovella
Member
From: Houston, TX
Registered: 2005-05-01
Posts: 103
Website Twitter

Re: article_custom not sorting by Section correctly

That was it.

Offline

Board footer

Powered by FluxBB