Opened 7 years ago

Closed 7 years ago

#840 closed defect (fixed)

Sort categories alphabetically

Reported by: isaackeyet Owned by:
Priority: minor Milestone: 2.8
Component: Compose Version:
Keywords: Cc: ercoli@…


As brought up here:!/SteveReynolds/status/55300386793336833

Categories should be sorted alphabetically to make it easier to browse through them.

Change History (6)

comment:2 Changed 7 years ago by daniloercoli

in [1924] I added a first patch for this issue. I've not used an object oriented approach, since i don't want change the Category class. I used sortedArrayUsingFunction using 2 copy of the same function in 2 files. We should change the code to use the same function in both files.

comment:3 Changed 7 years ago by daniloercoli

  • Cc ercoli@… added

comment:4 Changed 7 years ago by koke

Looked at [1924], probably better to use sort descriptors:

We could add a sortedCategories method to Blog, not sure if we should sort only by name or by parent/name.

comment:5 Changed 7 years ago by daniloercoli

method added in [1926]. No need to sort using the "parent-name/name" tuple.

comment:6 Changed 7 years ago by daniloercoli

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.