Filtere im Aufbau-Picker nach der Filterregel, nenne betroffene Objekte und tausche beim Sortieren nur Nachbarn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e20f428a57
commit
8a97d9c334
5 files changed
+81
-7
No files matched your search
@@ -238,4 +238,15 @@ private function filterByMaterialart(array $result): array
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Einordnungsfilter des Pickers: dieselbe Filterregel wie Medien- und Kompositionslisten (verwendete inaktive Werte
|
||||
* bleiben auffindbar, ein gewählter Filter bleibt sichtbar).
|
||||
*
|
||||
* @return list<array{label: string, values: list<array{id: int, label: string}>}>
|
||||
*/
|
||||
public function pickerDimensionGroups(): array
|
||||
{
|
||||
return app(EditorialVocabulary::class)->dimensionFilterGroups(ctype_digit($this->pickerDimension) ? [(int) $this->pickerDimension] : []);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user