mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Added further tests, Fixed speed_update issues, improved search result query count
This commit is contained in:
@ -141,7 +141,7 @@ class BookRepo
|
||||
*/
|
||||
public function getNewPriority($book)
|
||||
{
|
||||
$lastElem = $book->children()->pop();
|
||||
$lastElem = $this->getChildren($book)->pop();
|
||||
return $lastElem ? $lastElem->priority + 1 : 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user