[Tags] Allow tags to have default sort orders #328

Open
tobscure opened this Issue Aug 29, 2015 · 0 comments

Comments

Projects
None yet
3 participants
@tobscure
Member

tobscure commented Aug 29, 2015

From @tobscure on August 27, 2015 13:50

Sometimes it might be useful to specify a default sort order for a tag – like a News tag might want the most recently created discussions at the top (Newest) rather than the most recently updated discussions (Latest).

The database field for this is already in place – it just needs to be made use of!

What needs to be done:

  • Update the CreateTag and EditTag command handlers to allow saving of the defaultSort property.
  • Add the appropriate field to the admin JS extension's EditTagModal.
  • Probably make the forum JS extend the IndexPage's params method and set the sort param depending on the tag that is currently selected.

Copied from original issue: flarum/tags#14

@tobscure tobscure changed the title from Allow tags to have default sort orders to [Tags] Allow tags to have default sort orders Aug 29, 2015

@tobscure tobscure referenced this issue Aug 29, 2015

Closed

v0.1.0 roadmap (old) #74

19 of 53 tasks complete

@justjavac justjavac referenced this issue in justjavac/Flarum Sep 7, 2015

Open

Flarum v0.1.0 开发路线图 #3

18 of 53 tasks complete

@franzliedke franzliedke modified the milestone: 0.1.0 Apr 7, 2016

@tobscure tobscure modified the milestones: 0.1.x, 0.1.0 Dec 2, 2016

@tobscure tobscure removed this from the 0.1.x milestone Jul 22, 2017

@luceos luceos removed the Hacktoberfest label Nov 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment