Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoFiling - wouldn't it be more sensible to use OriginalPublishedDate? #6

Open
cloph opened this issue Jul 6, 2011 · 1 comment
Open

Comments

@cloph
Copy link

cloph commented Jul 6, 2011

Currently, when using AutoFiling, the news items get filed according to their creation time, i.e the time the page is saved in the CMS.

To me it would be more straightforward if it used the "first published" date instead.

Is there a reason for using creation date? If so, might be worth to add to the readme :-)

changing it for me is simple (getPartitionedHolderForArticle - just replace $article->Created with $article->OriginalPublishedDate ) - I wonder more about the decision/rationale behind this.

@nyeholt
Copy link
Owner

nyeholt commented Jul 7, 2011

Good idea. The existing rationale is that OriginalPublishedDate wasn't always set (and wasn't defaulted to 'now'), meaning it would have been blank. But it probably would be better to use that date if set, or fall back to Created. If you want to submit a pull request with that change I'll merge it, or when I get a chance will add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants