PhileCMS / Phile

A flat file CMS with a swappable parser and template engine.
https://philecms.github.io/
Other
257 stars 49 forks source link

v1.2.0 - page order issue? #135

Closed ghost closed 10 years ago

ghost commented 10 years ago

Forgive me, I'm still new at this.

Been using Phile for a bit, and love it for personal projects, but I just upgraded from v1.1.1 to v1.2 and while mostly there weren't any issues, ordering pages seems to be broken.

I've changed my config file entry to the following: $config['pages_order'] = 'meta.date:desc'; but it seems to be sorting: folder, title with not addressing date at all.

Previously I used:

$config['pages_order_by'] = 'date'; // Order pages by "title" (alpha) or "date" $config['pages_order'] = 'desc'; // Order pages "asc" or "desc"

I noticed in this change log that there's the following:

[BUGFIX] Make sorting actually works after release v1.2.0

https://github.com/PhileCMS/Phile/blob/c1f1356955e08d3e2b62aa2601594ca2262916d6/Changelog.md

Is this what I'm experiencing at the moment?

I have no interest (at this time) is pagination and I'd hate to have to (for whatever reason) index my filenames as mentioned here: https://github.com/PhileCMS/Phile/wiki/%5BHOW-TO%5D-Pagination

Wondering if it's just me with this problem, or

STOWouters commented 10 years ago

Yes, page ordering doesn't work on v1.2.0, this has been fixed on PR #115 . Actually, there were a lot of fixes done after v1.2.0. So, you might want to download the master version or wait till v1.3.0 is coming out. As I understand, they'll be released soon ( #124 ).

ghost commented 10 years ago

Thanks for the update.