We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
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:
|sort(attribute='ip')
antminer-monitor/antminermonitor/blueprints/asicminer/views/antminer.py
Line 23 in 5c62e10
Sorry, something went wrong.
hello,
it is possible to change {%- for active_miner in active_miners|sort(attribute='ip') %}
to {%- for active_miner in active_miners|dictsort(true) %}
I Have forked and made some changes: https://github.com/HMCmin/antminer-monitor
thanks for great software
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: