Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Fix default value properly applied in multiple dropdown search options
- Fix `search option` for default values in `multiple` dropdown
- Fix shared dropdowns not displaying in `massiveaction`
- The field name was empty in the GLPI logs

### Added
- Add `replace` and `add` options in massive action for the multiple dropdowns fields
Expand Down
2 changes: 1 addition & 1 deletion inc/container.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ public static function constructHistory(
//for all change find searchoption
foreach ($updates as $key => $changes) {
foreach ($searchoptions as $id_search_option => $searchoption) {
if ($searchoption['linkfield'] == $key) {
if ($searchoption['field'] == $key) {
$changes[0] = $id_search_option;

if ($searchoption['datatype'] === 'dropdown') {
Expand Down