mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03:00
Removed plaintext formats from posts request
refs https://github.com/TryGhost/Team/issues/1665 refs https://github.com/TryGhost/Ghost/issues/10396 - Content API has been updated to return clean results for `excerpt` without require a hacky "&formats=plaintext" parameter
This commit is contained in:
parent
df3d6cee74
commit
ec68dc303c
@ -57,8 +57,7 @@ export default class SearchIndex {
|
||||
let posts = await this.api.posts.browse({
|
||||
limit: 'all',
|
||||
fields: 'id,slug,title,excerpt,url,updated_at,visibility',
|
||||
order: 'updated_at DESC',
|
||||
formats: 'plaintext'
|
||||
order: 'updated_at DESC'
|
||||
});
|
||||
|
||||
if (posts || posts.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user