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.

orderby="date" not working for certain entries

January 19, 2012 4:07pm

Subscribe [2]
  • #1 / Jan 19, 2012 4:07pm

    Andrew Waegel

    16 posts

    Hello,

    I’ve got an odd problem - orderby=“date” is ordering two of my entries incorrectly, but all the others are fine.

    Here:
    http://www.woohoofit.com/workouts

    you’ll notice the dates are
    Jan 5 2012
    Jan 18 2012
    Dec 14 2011
    Dec 12 2011
    Dec 4 2011
    etc., in correct order from here on.

    January 5 and 18 should be reversed.

    These dates are from the {entry_date} tag, and the channel:entries tag has orderby=“date” sort=“desc”

    What the heck is going on?

    I disabled the ‘honor daylight savings time’ localization setting based on another post, and cleared all the caches, but no change.

    Using EE 2.1.0

    Thanks,
    - Andrew

  • #2 / Jan 19, 2012 5:23pm

    Andrew Waegel

    16 posts

    Never mind, I turned on the profiler and found that ‘make entry sticky’ had been selected. All OK now.

  • #3 / Jan 20, 2012 2:49pm

    Shane Eckert

    7174 posts

    Hello Andrew,

    I am glad to see you figured it out. Good work using the profiler.

    We are happy to have you on the forums.

    Keep coding!

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

ExpressionEngine News!

#eecms, #events, #releases