• Resolved tkshredder

    (@tkshredder)


    We have a large pool of content that is in status pending, and it appears that this content is displayed alphabetically, rather than by when the post was submitted for editorial scheduling. Ideally, we’d like to be able to view posts arranged by their submitted dates, in chronological order. In other words, arranged by oldest to newest. Is this something that’s currently available? If not, would it be possible to add a sort by submitted date field?

    Screen shot of our list posts, note the scroll bar and how many posts we need to take into consideration.

    Great plugin otherwise – we’ve been using this since the scrolling issues were corrected a few months ago. Thanks again!

    https://ibb.co/mtrhaL

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thank you for using the Editorial Calendar. When a post is in the Unscheduled Drafts section it doesn’t really have a date. For example, I can make a post today, but schedule it for next week. Then I can drag it to the week after. Then I can drag it back to tomorrow. Then I can put it in the Unscheduled Drafts.

    What date should that post use? Should it use today because that’s when it was created? Should it use tomorrow because that’s the last scheduled date it had?

    We couldn’t figure out a clear answer to those questions and that’s why we sorted it alphabetically. Do you have any good ideas?

    Thanks

    Thread Starter tkshredder

    (@tkshredder)

    Thanks, Zack, and apologies for my delayed response.

    The Last Modified Date for the post would be the field to sort on. In our case, we would like the posts with the oldest last modified dates to appear at the top of the list, so that we can try and use those posts up first before we get into the more recently modified dates.

    Thread Starter tkshredder

    (@tkshredder)

    Hi Zack, thanks again for all your work on the plugin!

    I wanted to see if you had a chance to preview my previous note about possibly filtering on the Last Modified Date of a post? This way, we could easily filter in oldest to most recent posts.

    I’ve looked into this and I don’t think this is a good fit for the calendar. The posts are ordered by the post date and that seems to fit most people’s needs. I can show you where to make edits in the plugin if you would like to do a fork.

    Thread Starter tkshredder

    (@tkshredder)

    Thanks, Zack. Yes, I’d be curious in looking at it further, we may proceed with a simple fork.

    If we could build this out in a way that adds this as a setting option, would you consider it for inclusion in the main plugin?

    Thanks for taking a look. It turns out my last answer was wrong. I went through my notes and found that we are sorting these posts by title. I did that because I didn’t want there to be a sort order based on a field that wasn’t visible in the calendar.

    If you look at edcal.php in the edcal_posts function there is a section that looks like this:

    if ($edcal_startDate == '00000000') {
      $args['orderby'] = 'title';
    }
    

    If you change the orderby here it should change the order in the Drafts Drawer.

    Thread Starter tkshredder

    (@tkshredder)

    Thanks, Zack! Will give it a shot and keep you posted.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Sorting Pending Posts by Date Submitted by Contributors’ is closed to new replies.