- Fixes #83 Signed-off-by: Hideki Saito <saito@fgrep.org>
If user specifies sort_order to none, results are not converted to list. This fix force this typecasting before using the results. Fixes: https://github.com/ansible/ansible/issues/69563 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
When no sorting was selected, `result` was a `odict_items` which is not subscriptable, so the slicing was failing.