fix: load all correspondents instead of first 100 in Paperless API
Build and Push Multi-Platform Images / build-and-push (push) Successful in 31s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 31s
Raised page_size from 100 to 9999 on GET /api/paperless/correspondents so the FreigabePage can resolve all correspondent IDs to names. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -88,7 +88,7 @@ export class PaperlessController {
|
|||||||
|
|
||||||
@Get('correspondents')
|
@Get('correspondents')
|
||||||
async getCorrespondents(@Query('search') search?: string) {
|
async getCorrespondents(@Query('search') search?: string) {
|
||||||
const params: any = { page_size: 100 };
|
const params: any = { page_size: 9999 };
|
||||||
if (search) {
|
if (search) {
|
||||||
params.name__icontains = search;
|
params.name__icontains = search;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user