1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Queries: Addressed failing test cases from recent changes

This commit is contained in:
Dan Brown
2024-02-08 17:18:03 +00:00
parent ed21a6d798
commit ed9c013f6e
8 changed files with 18 additions and 12 deletions

View File

@ -10,11 +10,12 @@ class PageQueries implements ProvidesEntityQueries
{
protected static array $contentAttributes = [
'name', 'id', 'slug', 'book_id', 'chapter_id', 'draft',
'template', 'html', 'text', 'created_at', 'updated_at', 'priority'
'template', 'html', 'text', 'created_at', 'updated_at', 'priority',
'created_by', 'updated_by', 'owned_by',
];
protected static array $listAttributes = [
'name', 'id', 'slug', 'book_id', 'chapter_id', 'draft',
'template', 'text', 'created_at', 'updated_at', 'priority'
'template', 'text', 'created_at', 'updated_at', 'priority', 'owned_by',
];
public function start(): Builder