Sub-category sorting

Post

Posted
Rating:
#5903 (In Topic #1408)
Avatar
Standard member
walterhpdx is in the usergroup ‘Fan in training’

Need info on how to sort for sub-categories

Hopefully the last two question before I start the big roll out, and then tighten up design and roll out to users.

I've imported 900+ entries in my first category (Television) as subcategories, and now they display (Thanks Chris!).  There are 938 subcategories under Television, and there'll probably be a few hundred under Movies.  

First question:  I've not been able to find anything on how sorting is done, besides a catalogues.php/catalogues2.php script that sorts off of the id column.  I'd like to be able to sort off of the category name, specifically the cms_catalogue_categories.cc_title field.  Changes made to the catalogues2.php script didn't make any difference.  Attaching a screenshot showing it's in database order.
subcategory unsorted.png

Second question: I had it defined as displaying the 150 subcategories in the configuration, and that works.  What doesn't appear to work is a "Next" button to take me to the next 150, etc.  Is that not part of the code?  Or should I change my configuration to display N+1, where N is the maximum number of subcategories I have?

Last edit: by walterhpdx

Online now: No Back to the top

Post

Posted
Rating:
#5905
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

1) Actually you found a bug. I'm surprised, but I guess thus far v10 users just added them in alphabetically order to start with. Fixed in Fix catalogue subcat ordering bug · ocproducts/composr@4ed4d82 · GitHub

2) I'm looking into that.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#5906
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#5907
Avatar
Standard member
walterhpdx is in the usergroup ‘Fan in training’
Thanks for these - and glad to have found a bug!  I'm going to start tightening up the site now, and then I can start getting it ready for early adopters.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Back to Top