• Resolved mvanboordt

    (@mvanboordt)


    Hi,

    I have this strange issue sinds last week.
    I name my files by date.
    So if I create a new file and the date is 2012_01_01_name_of_file.pdf my overview page puts it on top of the list.
    The shortcode I use is: [downloads query=”category=3&order=DESC”]
    This works partially because everything I did before last week still get’s orders DESC but the new uploads not anymore.

    Any ideas?

    http://wordpress.org/plugins/download-monitor/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Add orderby=name just in case as well. And ensure all date formats are in the same format i.e. YYYY-MM-DD otherwise that won’t work.

    Thread Starter mvanboordt

    (@mvanboordt)

    @mikejolley

    Thnx for your responce.
    Didn’t work and I allready tried that.
    The names are the same and so is the date.
    I checked the DB and I can’t find anything strange.

    I checked the FTP server and there is anything strange.
    I have the latest version and didn’t have to upgrade.

    I notice that I haven’t upgraded WP itself so I’ll do that.
    I have 2 other plugins that need an upgrade so I’ll do them to.

    If that still doesn’t work I’ll deactivate my plugins and see where that get’s me.

    I still think it’s strange because this happend all of a sudden. In the mean time nothing changed…

    Hit me if you can think of something else

    Thnx!
    M.

    Thread Starter mvanboordt

    (@mvanboordt)

    I did everything I can think of to get this working again but failed everytime.

    1. Deactivate all the plugin’s
    2. Upgraded every plugin, WP-version and Theme’s
    3. Activated the Twenty-(ten, eleven, twelve and thirteen) theme
    4. Tried every shordcode add-on possible
    5. Re-installed the plugin

    So the only thing now is that I break open the code from the plugin (which I reather not do) and try to understand what might happen.

    There are no error’s what so ever so I’m kinda looking for a needle in a haystack.

    M.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Just realised something. If this is the new DLM, the ‘query’ arg is no longer used.

    [downloads category=”3″ orderby=”date” order=”DESC”]

    Thread Starter mvanboordt

    (@mvanboordt)

    Ohw woow!
    That makes a difference.
    Thnx

    However I now only get 5 results at random and from different categories.
    I’ll take a look at the shortcode possibilities

    Thnx for your reply!

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Yeah, category should be a slug. e.g. category=”my-category”

    See https://github.com/mikejolley/download-monitor/wiki/Shortcode%20Reference#the-downloads-shortcode

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Order DESC doesn't work completely’ is closed to new replies.