Open HMCmin opened 2 years ago
Hi there,
glad you liked my software.
Well, you already have the solution. The sorting happens in the frontend but you want to sort in the backend.
Remove |sort(attribute='ip')
from the html files amd sort the miners in the following view:
hello,
it is possible to change {%- for active_miner in active_miners|sort(attribute='ip') %}
to {%- for active_miner in active_miners|dictsort(true) %}
Best Regards
I Have forked and made some changes: https://github.com/HMCmin/antminer-monitor
thanks for great software
Best Regards
Hello,
How change default sort function:
{%- for active_miner in active_miners|sort(attribute='ip') %}
I have now about 105 L3 running with different subnets
10.0.0.100 10.0.0.101 10.0.0.102 10.0.0.103 10.0.0.104 10.0.0.105 10.0.1.1 10.0.1.10 10.0.1.100 10.0.1.11
And I want to list them propertly.
Best Regards