Commit 473f37ac authored by Romain Courteaud's avatar Romain Courteaud

slapos_jio: force the query to use a catalog index

Normally, all compute node are validated.

It allows to have a faster sorting.
parent dc559dad
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
"key": "slap_compute_node_listbox", "key": "slap_compute_node_listbox",
"lines": lines_limit, "lines": lines_limit,
"list_method": "portal_catalog", "list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=((portal_type%3A%22Compute%20Node%22)%20AND%20NOT%20(%20default_strict_allocation_scope_uid%3A%20%20" + "query": "urn:jio:allDocs?query=((portal_type%3A%22Compute%20Node%22)%20AND%20(validation_state%3A%22validated%22)%20AND%20NOT%20(%20default_strict_allocation_scope_uid%3A%20%20" +
default_strict_allocation_scope_uid + "%20))", default_strict_allocation_scope_uid + "%20))",
"portal_type": [], "portal_type": [],
"search_column_list": column_list, "search_column_list": column_list,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment