Fixed SQL total and pagination, showing end of result info. Hiding heart from scene tiles when not logged in.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import config from 'config';
|
||||
import { differenceInYears } from 'date-fns';
|
||||
import { unit } from 'mathjs';
|
||||
|
||||
@@ -272,6 +273,10 @@ export async function fetchActors(filters, rawOptions) {
|
||||
sort: [{ country: { order: 'asc' } }],
|
||||
},
|
||||
},
|
||||
options: {
|
||||
max_matches: config.database.manticore.maxMatches,
|
||||
max_query_time: config.database.manticore.maxQueryTime,
|
||||
},
|
||||
});
|
||||
|
||||
const actorIds = result.hits.hits.map((hit) => Number(hit._id));
|
||||
|
||||
Reference in New Issue
Block a user