Fix items on multiple apps
This commit is contained in:
parent
1e5f26e8ce
commit
c7f62e9cc2
@ -276,7 +276,7 @@ CREATE OR REPLACE PACKAGE BODY app AS
|
|||||||
MIN(t.value_en) KEEP (DENSE_RANK FIRST ORDER BY t.item_name DESC, t.page_id DESC)
|
MIN(t.value_en) KEEP (DENSE_RANK FIRST ORDER BY t.item_name DESC, t.page_id DESC)
|
||||||
INTO out_value, out_default
|
INTO out_value, out_default
|
||||||
FROM translated_items t
|
FROM translated_items t
|
||||||
WHERE t.app_id = COALESCE(in_app_id, app.get_app_id())
|
WHERE t.app_id = COALESCE(in_app_id, app.get_real_app_id())
|
||||||
AND t.page_id IN (0, COALESCE(in_page_id, app.get_page_id()))
|
AND t.page_id IN (0, COALESCE(in_page_id, app.get_page_id()))
|
||||||
AND t.item_name = in_name;
|
AND t.item_name = in_name;
|
||||||
--
|
--
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user