@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+1 -1
+1 -1
src/applications/maniphest/query/ManiphestTaskSearchEngine.php
··· 141 141 ->setKey('closerPHIDs') 142 142 ->setAliases(array('closer', 'closerPHID', 'closers')) 143 143 ->setDescription(pht('Search for tasks closed by certain users.')), 144 - id(new PhabricatorSearchTextField()) 144 + id(new PhabricatorSearchIntField()) 145 145 ->setLabel(pht('Page Size')) 146 146 ->setKey('limit'), 147 147 );