Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter rdzman

    (@rdzman)

    Should I take the lack of response to mean you have no plans to add this?

    Thread Starter rdzman

    (@rdzman)

    So, what I’m attempting is not currently possible, right?

    In that case, please consider this a feature request. Not sure if it’s possible, but maybe the code used to handle category argument could be used for the tag argument as well, since it does handle both AND and OR if I’m not mistaken.

    Thanks.

    Thread Starter rdzman

    (@rdzman)

    Consider this a feature request then.

    The only available workaround seems to me to be a bit of a hack.

    The two dates I can manually edit are 1 and 3 (see my previous post). Conceptually 1 represents the date I posted the download on my WP site and 3 is the date associated with the file I’m uploading (in my case, the release date of the corresponding software).

    From the user’s point of view, it seems just as likely that I’d want to sort by file date as by post date. And having to edit the post date to mean something it doesn’t really mean in order to get the list sorted as desired just seems wrong to me.

    Let me know if you agree and are considering adding an orderby=filedate option, in which case I might hold off on manually changing the dates of all my Downloads.

    Thanks.

    Thread Starter rdzman

    (@rdzman)

    Yeah, I saw that, but it’s not what I want either.

    If I understand correctly, for each download/version instance the data comes from two rows in the wp_posts table. One is the corresponding dlm_download entry and the other is the corresponding dlm_download_version entry. Each row has a post_date column and a post_modified column.

    So, there are 4 dates associated with each download/version instance fetched by the [downloads] shortcode:

    1. post_date of dlm_download entry
    2. post_modified of dlm_download entry
    3. post_date of dlm_download_version entry
    4. post_modified of dlm_download_version entry

    It seems that orderby=date uses 1 and orderby=modify uses 2. I’m looking for 3, that is, the file_date as displayed by [download_data data=file_date ...]. It seems there is currently no option to order by 3. Am I right?

    If so, it seems my only option is to go through all of my downloads one by one and manually edit the “Published on” date to make it the same as the file date, right?

    Thread Starter rdzman

    (@rdzman)

    I assume you meant “is not possible”.

    Thread Starter rdzman

    (@rdzman)

    Doesn’t that example include downloads with tag1 OR tag2, not tag1 AND tag2?

    Thread Starter rdzman

    (@rdzman)

    On further investigation, I was wrong. It looks like it’s sorting by name, which in my case was very close to, but not quite the same as, sorting by file date.

    So, please consider this a feature request. Could you please include the option to sort downloads by file date?

Viewing 7 replies - 16 through 22 (of 22 total)