Commit c272087e authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: make Organisation_hasItem consistent

   Rely on the proper API to exclude cases that aren't shown on the view listbox.
parent a002a2d0
import json
kw = {"node_uid": context.getUid(),
"at_date": DateTime(),
"limit": 1}
return json.dumps(len(context.portal_simulation.getCurrentTrackingList(**kw)))
return json.dumps(len(context.Organisation_getComputeNodeTrackingList()))
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