mirror of
https://gitlab.com/JKANetwork/powerfulcomputermanager.git
synced 2026-12-06 02:58:17 +01:00
Changes to web gui and fixes
This commit is contained in:
1 parent
609d821501
commit
3deb367e89
9 files changed
+94
-25
No files matched your search
@@ -113,7 +113,7 @@ def getComputers():
|
||||
ComputerID = value
|
||||
|
||||
if ComputerID is not None: # One computer
|
||||
data = sql.select("SELECT * FROM COMPUTERS WHERE ID_C = '"+ComputerID+"') ORDER BY Name ASC LIMIT 1")
|
||||
data = sql.select("SELECT * FROM COMPUTERS WHERE ID_C = '"+ComputerID+"' ORDER BY Name ASC LIMIT 1")
|
||||
return str(data)
|
||||
else: # All computers
|
||||
data = sql.select("SELECT * FROM COMPUTERS ORDER BY Name ASC")
|
||||
|
||||
Reference in new issue
Block a user