option to add sort by status

This commit is contained in:
Bryan Gerlach
2025-01-13 13:23:39 -06:00
parent 38b2e8528c
commit 188dfc89fa
8 changed files with 75 additions and 10 deletions

View File

@@ -26,6 +26,7 @@ def generator_view(request):
cycleMonitor = form.cleaned_data['cycleMonitor']
xOffline = form.cleaned_data['xOffline']
hidecm = form.cleaned_data['hidecm']
statussort = form.cleaned_data['statussort']
server = form.cleaned_data['serverIP']
key = form.cleaned_data['key']
apiServer = form.cleaned_data['apiServer']
@@ -162,6 +163,7 @@ def generator_view(request):
extras['cycleMonitor'] = 'true' if cycleMonitor else 'false'
extras['xOffline'] = 'true' if xOffline else 'false'
extras['hidecm'] = 'true' if hidecm else 'false'
extras['statussort'] = 'true' if statussort else 'false'
extra_input = json.dumps(extras)
####from here run the github action, we need user, repo, access token.