ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

when using orderby="title" half my posts dissapear

September 23, 2013 2:02am

Subscribe [3]
  • #1 / Sep 23, 2013 2:02am

    tobypowell

    57 posts

    Hi

    when using orderby=“title” half my posts so for example all posts with a title from A-L display fine, but nothing else after L appears.

    I’ve tried turning off all third party plugins etc, and testing with different channels and i have the same result. If i remove the orderby=“title” then all my posts appear… i really need them alphabetically and asc.

    Im running ee 2.7.0 all plugins are now off and everything else except this seems to be fine. I’ve testing on a local evironment and a live server and am getting the same thing. I’ve also tried with various different channels, and same again.

    here is an example of a cannel code im using:


      <div class=“brands_container”>
        {exp:channel:entries channel="brands" status="open" orderby="title" sort="asc"}
        <div class=”{position_in_alphabet}”>
        {title}
          </div>
      {/exp:channel:entries}

  • #2 / Sep 23, 2013 7:29am

    Boyink!

    5011 posts

    If you have more than 100 entries try setting a higher number of results using the limit parameter.

  • #3 / Sep 23, 2013 8:56am

    tobypowell

    57 posts

    Hi, there is actually 97 posts, but I had already tried that but i didn’t help. Any other ideas, much appreciated

    thanks

  • #4 / Sep 24, 2013 12:29am

    tobypowell

    57 posts

    Hi, I’ve just upped limit=“200” and this resolved the problem, so thanks very much for the advice it sorted it. This can be considered closed. Thanks again

  • #5 / Sep 24, 2013 9:49am

    travisb

    172 posts

    There should be a button for you (OP) to mark this question as “Has a Solution”.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases