mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
Convert "Page Size" field in Maniphest Advanced Search to PhabricatorSearchIntField
Summary: Convert the "Page Size" field from PhabricatorSearchTextField to PhabricatorSearchIntField as its input should be an integer value (the number of tasks to display in the query results). Closes T15723 Test Plan: * Go to `/maniphest/query/advanced/` * enter random values in the `Page Size` field and run random Maniphest queries (example values: `13`, `0`, `-13`, `foobar`, `foo13bar`, `-foo1313`, `13.5`, `-13.5`, `13,5`, `-13,5`, `-`, `-0`). Reviewers: O1 Blessed Committers, 20after4 Reviewed By: O1 Blessed Committers, 20after4 Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T15723 Differential Revision: https://we.phorge.it/D25527
This commit is contained in:
parent
74e28bc2a7
commit
fbe07fbeef
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ final class ManiphestTaskSearchEngine
|
|||
->setKey('closerPHIDs')
|
||||
->setAliases(array('closer', 'closerPHID', 'closers'))
|
||||
->setDescription(pht('Search for tasks closed by certain users.')),
|
||||
id(new PhabricatorSearchTextField())
|
||||
id(new PhabricatorSearchIntField())
|
||||
->setLabel(pht('Page Size'))
|
||||
->setKey('limit'),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue