Alphabetical Catalogues

JayC

Always Learning
Aug 8, 2013
5,495
1,398
You can run a query to achieve this.

Code:
SET @counter = 0;


Update catalog_pages

SET order_num = @counter := @counter + 1

WHERE parent_id = 'ParentIDGoesHere'

Order By Caption
 

Karel

Member
May 15, 2019
80
13
I'm not a 100% sure but I guess you can also change this line in CatalogManager.cs:
C#:
dbClient.SetQuery("SELECT `id`,`item_id`,`catalog_name`,`cost_credits`,`cost_pixels`,`cost_diamonds`,`amount`,`page_id`,`limited_sells`,`limited_stack`,`offer_active`,`extradata`,`badge`,`offer_id` FROM `catalog_items`");
To
C#:
dbClient.SetQuery("SELECT `id`,`item_id`,`catalog_name`,`cost_credits`,`cost_pixels`,`cost_diamonds`,`amount`,`page_id`,`limited_sells`,`limited_stack`,`offer_active`,`extradata`,`badge`,`offer_id` FROM `catalog_items` ORDER BY `catalog_name`");
 

Users who are viewing this thread

Top