DEV Community

Discussion on: Dev.to has implemented Series! Series are cool! Coding Concepts is now a series! Cool!

Collapse
 
rinsama77 profile image
imrinzzzz

I just discovered it today and it's incredibly useful! One question tho, how do you arrange the series order in thr table? Mine seems to swap the first and second series..

Collapse
 
frankfont profile image
Frank Font

I have the same question. How do I order the postings of the series?

Collapse
 
johnbiundo profile image
John Biundo

Did anyone ever figure this out? Very annoying to have Part 5 show up before Part 5!

Thread Thread
 
chris_bertrand profile image
Chris Bertrand

Haha, I Would have thought it was date posted, I'll check the repo and get back to you on that asap

Thread Thread
 
johnbiundo profile image
John Biundo

It's possible I created them out of order. I definitely published them in order though,so my bet is it goes by create date.

Thread Thread
 
chris_bertrand profile image
Chris Bertrand • Edited

Sorry for taking so long to get back to this. Ok, so I've found it.
in app\views\articles_collection.html.erb

ln 10:

<% @collection.articles.published.order("published_at ASC").each_with_index do |article, i| %>

Thread Thread
 
johnbiundo profile image
John Biundo

Thanks Chris.