/**
* @inheritdoc
*/
- public function displaysOnUnstructuredUi( ChangesListSpecialPage $specialPage ) {
+ public function displaysOnUnstructuredUi() {
return false;
}
+
+ /**
+ * @inheritdoc
+ */
+ public function isSelected( FormOptions $opts ) {
+ $values = explode(
+ ChangesListStringOptionsFilterGroup::SEPARATOR,
+ $opts[ $this->getGroup()->getName() ]
+ );
+ return in_array( $this->getName(), $values );
+ }
}