Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14102897
D18132.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
626 B
Referenced Files
None
Subscribers
None
D18132.diff
View Options
diff --git a/src/applications/search/field/PhabricatorSearchCheckboxesField.php b/src/applications/search/field/PhabricatorSearchCheckboxesField.php
--- a/src/applications/search/field/PhabricatorSearchCheckboxesField.php
+++ b/src/applications/search/field/PhabricatorSearchCheckboxesField.php
@@ -18,6 +18,14 @@
return array();
}
+ protected function didReadValueFromSavedQuery($value) {
+ if (!is_array($value)) {
+ return array();
+ }
+
+ return $value;
+ }
+
protected function getValueFromRequest(AphrontRequest $request, $key) {
return $this->getListFromRequest($request, $key);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 8:29 PM (21 h, 58 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6796363
Default Alt Text
D18132.diff (626 B)
Attached To
Mode
D18132: Let PhabricatorSearchCheckboxesField survive saved query data with mismatched types
Attached
Detach File
Event Timeline
Log In to Comment