Is it possible to sort categories in knowledge base categories not in alphabetical order? but using value?

Community Alums
Not applicable

I'm using a customized portal to show a single Knowledge Base, but found out that in the platform using value to sort categories and subcategories, the order is respected but in the portal view it sorts in alphabetical order.

Is it possible not to sort categories and subcategories not using the label and instead use value order?

find_real_file.png

find_real_file.png

 

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage

You will have to clone the KB Categories widget and change line 40 and add cloned widget to page.

change from label to value

find_real_file.png

View solution in original post

4 REPLIES 4

Mike Patel
Tera Sage

You will have to clone the KB Categories widget and change line 40 and add cloned widget to page.

change from label to value

find_real_file.png

Community Alums
Not applicable

Hi Mike! I cloned the widget but it did not work, it still order by the label, is there anything else I'm missing?

Maybe you are different version of widget. Can you share server code of the widget?

Community Alums
Not applicable

it worked like a charm, thaks a lot!