Trend logs - category sorting - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10) +--- Thread: Trend logs - category sorting (/showthread.php?tid=3828) |
Trend logs - category sorting - morkovka - 27.01.2022 Hi, In the 'trend logs' I can sort the different logs when they are in the same category, but if I have multiple categories - can I change the sort order per category? E.g. I have now "log1, log2 = category1, log3, log4 = category2", and I want to move "log3/log4" (category2) to be displayed at the top of the trend logs, before category1. Any ideas how to achieve that? RE: Trend logs - category sorting - admin - 27.01.2022 Custom category sorting is not implemented. Categories are sorted alphabetically so you can change the category name to change the sort order. RE: Trend logs - category sorting - morkovka - 27.01.2022 (27.01.2022, 07:32)admin Wrote: Custom category sorting is not implemented. Categories are sorted alphabetically so you can change the category name to change the sort order. Thank you. I have over 200 items in the trend logs which make this quite a tedious job, due to the inability to mass-rename the trend logs categories - is there any script I could use to automate the process? RE: Trend logs - category sorting - admin - 27.01.2022 You can mass-rename categories like this: Code: db:update('trends', { category = 'new category name' }, { category = 'old category name' }) RE: Trend logs - category sorting - morkovka - 27.01.2022 (27.01.2022, 08:49)admin Wrote: You can mass-rename categories like this: Great, thank you!!! |