mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 23:54:12 -08:00
Merge branch 'develop'
This commit is contained in:
commit
14ca690441
|
@ -34,7 +34,10 @@ class SelectlistTransformer
|
||||||
|
|
||||||
// This is weird and awful, but the only way I can find to allow the user to
|
// This is weird and awful, but the only way I can find to allow the user to
|
||||||
// clear the selection - @snipe
|
// clear the selection - @snipe
|
||||||
|
if (count($items_array) > 0) {
|
||||||
array_unshift($items_array, ['id' =>'', 'text'=> trans('general.clear_selection')]);
|
array_unshift($items_array, ['id' =>'', 'text'=> trans('general.clear_selection')]);
|
||||||
|
}
|
||||||
|
|
||||||
$results = [
|
$results = [
|
||||||
'items' => $items_array,
|
'items' => $items_array,
|
||||||
'pagination' =>
|
'pagination' =>
|
||||||
|
|
Loading…
Reference in a new issue