legacy-web-dashboard
legacy-web-dashboard copied to clipboard
Malformed search request
Description
When opening a device the UI collects geolocations of the device. It issues a /search with wring criterias
Expected behavior
No error when opening a device
Actual behavior
a toast
Environment Details
- Web UI version: develop branch
- GLPi version: 9.2
Steps to reproduce the behaviour
- Open a device from the UI
- observe the toast
The query string contains the following criteria[0][field]:3 criteria[0][type]:equals criteria[0][value]:20 forcedisplay[0]:4 forcedisplay[1]:5 forcedisplay[2]:6 forcedisplay[3]:2 order:DESC range:0-8 sort:6
criteria[0][type] should be criteria[0][searchtype]