friendica / friendica-directory

Global directory for the Friendica project. The repository has moved to git.friendi.ca/friendica/friendica-directory
GNU Affero General Public License v3.0
20 stars 11 forks source link

Add item-per-page to search request #31

Closed nupplaphil closed 3 years ago

nupplaphil commented 5 years ago

Currently, a /search is returning a fixed count of 20 entries. See https://github.com/friendica/friendica-directory/blob/a0cfd3352145bdc81aa737afe962acb29c257f2b/src/classes/Controllers/Api/Search.php#L40

It would be nice to be able to set the amount of entries per page (like it's possible in Friendica itself or for /match)