mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature/frontend] Reports frontend v2 (#3022)
* use apiutil + paging in admin processor+handlers * we're making it happen * fix little whoopsie * styling for report list * don't youuuu forget about meee don't don't don't don't * last bits * sanitize content before showing in report statuses * update report docs
This commit is contained in:
@@ -247,7 +247,7 @@ func (m *Module) SearchGETHandler(c *gin.Context) {
|
||||
Resolve: resolve,
|
||||
Following: following,
|
||||
ExcludeUnreviewed: excludeUnreviewed,
|
||||
AccountID: c.Query(apiutil.SearchAccountIDKey),
|
||||
AccountID: c.Query(apiutil.AccountIDKey),
|
||||
APIv1: apiVersion == apiutil.APIv1,
|
||||
}
|
||||
|
||||
|
@@ -105,7 +105,7 @@ func (suite *SearchGetTestSuite) getSearch(
|
||||
}
|
||||
|
||||
if fromAccountID != nil {
|
||||
queryParts = append(queryParts, apiutil.SearchAccountIDKey+"="+url.QueryEscape(*fromAccountID))
|
||||
queryParts = append(queryParts, apiutil.AccountIDKey+"="+url.QueryEscape(*fromAccountID))
|
||||
}
|
||||
|
||||
requestURL.RawQuery = strings.Join(queryParts, "&")
|
||||
|
Reference in New Issue
Block a user