SuggestController: use datalist keys

fixes #1918
This commit is contained in:
Thomas Gelf 2020-11-30 09:38:11 +01:00
parent 309ce46704
commit aa0980e168
2 changed files with 4 additions and 1 deletions

View File

@ -322,7 +322,9 @@ class SuggestController extends ActionController
$data = [];
foreach ($db->fetchPairs($query) as $key => $label) {
$data[] = sprintf("%s [%s]", $label, $key);
// TODO: find a better solution here
// $data[] = sprintf("%s [%s]", $label, $key);
$data[] = $key;
}
return $data;
}

View File

@ -17,6 +17,7 @@ next (will be 1.8.0)
* FIX: Change wording, avoid black/whitelist (#2134, #2135)
* FIX: Inherited values in sets (arrays) are now shown (#1310)
* FIX: Column layout broke with Web 2.8, has been fixed (#2065)
* FIX: filter suggestion gave wrong values for DataList fields (#1918)
* FEATURE: Data Fields can now be grouped into categories (#1969)
* FEATURE: Inspect is now available for Packages, Stages and Files (#1995)
* FEATURE: Allow to disable the Director frontend / UI (#2007)