• Resolved taniav

    (@taniav)


    Currently, I’m using this plugin’s 0.36 Pagination Alpha version for my live site.

    I’m sorting posts under a category with these parameters:
    [catlist name=example-category orderby=title order=asc numberposts=15 pagination=yes instance=1]

    The sorting worked well when I had 46 posts under that category. It was sorting the list by title correctly. Until, I added 7 new posts.

    It becomes like there is two parts of the list. 46 posts are sorted by title and the new 7 posts are sorted by title above that 46 posts. For illustration: it becomes, A, B, C, D, E, F, G, A, B, C, D, E, F, G, H, and soon.

    I tried to change it to sorting by date. And I found no problem. But, when I changed it back to sorting by title, the problem that I described above still happens.

    Do you know what’s causing this problem?

    https://www.ads-software.com/plugins/list-category-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    That’s pretty strange. The plugin is using a different method to get the posts on that version, so it’s using a WP_Query. You probably found a bug. I’ll check it out and let you know what I find here.

    Thread Starter taniav

    (@taniav)

    Hi,

    I just have time to check out my site’s database. I looked at table post_title in wp_posts. There was some posts with additional tags from other plugin, qTranslate (it’s plugin to support multilingual site):
    <!--:en-->Text in English<!--:--><!--:id-->Teks dalam bahasa Indonesia<!--:-->

    That tags affect the sorting. So, in my case above, 7 posts with additional tags, 46 without additional tags.

    Now I can clarify, it’s not a bug from your plugin.

    Just in case if there’s someone run into the same problem. I solve it by adding tags to all posts’ title, even if it’s untranslated posts. Like this example:
    <!--:en-->Text in English<!--:--><!--:id-->Text in English<!--:-->

    Hope it helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with Order by Title’ is closed to new replies.