chore: search cleanup
This commit is contained in:
parent
19d17f70d2
commit
fca18da3f7
36 changed files with 71 additions and 60 deletions
14
queries/views/globals/nav.psql
Normal file
14
queries/views/globals/nav.psql
Normal file
|
@ -0,0 +1,14 @@
|
|||
CREATE OR REPLACE VIEW optimized_navigation AS
|
||||
SELECT
|
||||
n.id,
|
||||
n.menu_location,
|
||||
n.permalink,
|
||||
n.icon,
|
||||
n.title,
|
||||
n.sort,
|
||||
p.title AS page_title,
|
||||
p.permalink AS page_permalink
|
||||
FROM
|
||||
navigation n
|
||||
LEFT JOIN
|
||||
pages p ON n.pages = p.id;
|
Reference in a new issue