legacy-web-dashboard icon indicating copy to clipboard operation
legacy-web-dashboard copied to clipboard

Malformed search request

Open btry opened this issue 7 years ago • 0 comments

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 image

Environment Details

  • Web UI version: develop branch
  • GLPi version: 9.2

Steps to reproduce the behaviour

  1. Open a device from the UI
  2. 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]

btry avatar Jun 08 '17 12:06 btry