Sorting List of Articles in Symfony

Taccundmums

New Member
I have a module called articles, where I display a list of articles that I uploaded. On the index, it's just lists all of the article. But I was wondering how I could make it so that if I click on the author, for example, it will then take me to a page that only displays article by that author (and making the url pretty ex: articles/daniel) or by a different field such as by publication. I know how to make the queries obviously, but I don't understand if I should be making new templates for these things or just change parameters on the index page and check for them.
 
Back
Top