diff --git a/Content.Client/StationRecords/GeneralStationRecordConsoleBoundUserInterface.cs b/Content.Client/StationRecords/GeneralStationRecordConsoleBoundUserInterface.cs index 3c8bcc9d21..34c3328792 100644 --- a/Content.Client/StationRecords/GeneralStationRecordConsoleBoundUserInterface.cs +++ b/Content.Client/StationRecords/GeneralStationRecordConsoleBoundUserInterface.cs @@ -16,6 +16,7 @@ public sealed class GeneralStationRecordConsoleBoundUserInterface : BoundUserInt _window = new(); _window.OnKeySelected += OnKeySelected; + _window.OnFiltersChanged += OnFiltersChanged; _window.OnClose += Close; _window.OpenCentered(); @@ -26,6 +27,13 @@ public sealed class GeneralStationRecordConsoleBoundUserInterface : BoundUserInt SendMessage(new SelectGeneralStationRecord(key)); } + private void OnFiltersChanged( + GeneralStationRecordFilterType type, string filterValue) + { + GeneralStationRecordsFilterMsg msg = new(type, filterValue); + SendMessage(msg); + } + protected override void UpdateState(BoundUserInterfaceState state) { base.UpdateState(state); diff --git a/Content.Client/StationRecords/GeneralStationRecordConsoleWindow.xaml b/Content.Client/StationRecords/GeneralStationRecordConsoleWindow.xaml index 97df400c63..a915d329bc 100644 --- a/Content.Client/StationRecords/GeneralStationRecordConsoleWindow.xaml +++ b/Content.Client/StationRecords/GeneralStationRecordConsoleWindow.xaml @@ -1,17 +1,26 @@ - - - -