]> BookStack Code Mirror - bookstack/commit
Improved relation loading during search
authorDan Brown <redacted>
Mon, 8 Nov 2021 15:24:49 +0000 (15:24 +0000)
committerDan Brown <redacted>
Mon, 8 Nov 2021 15:24:49 +0000 (15:24 +0000)
commitbc472ca2d7f0f01b035cb17a414c9e7eef9a5576
tree1249559e3876b819e3045b3b6d7af600fe0aae5b
parentb3e1c7da73a5a5279b84d16b2efd170f4b7702f9
Improved relation loading during search

Relations now loaded during back-end query phase instead of being lazy
loaded one-by-one within views.

Reduced queries in testing from ~60 to ~20.

Need to check other areas list-item.php's "showPath" option is used to
ensure relations are properly loaded for those listings.
app/Entities/Tools/SearchRunner.php
resources/views/entities/list-item.blade.php