Cleanup
This commit is contained in:
parent
c98013c730
commit
d38c15df97
@ -421,10 +421,10 @@ CREATE OR REPLACE PACKAGE BODY app AS
|
|||||||
v_workspace_id apex_applications.workspace%TYPE;
|
v_workspace_id apex_applications.workspace%TYPE;
|
||||||
BEGIN
|
BEGIN
|
||||||
app.log_module_json (
|
app.log_module_json (
|
||||||
'in_user_id', in_user_id,
|
'user_id', in_user_id,
|
||||||
'in_app_id', in_app_id,
|
'app_id', in_app_id,
|
||||||
'in_page_id', in_page_id,
|
'page_id', in_page_id,
|
||||||
'in_items', in_items
|
'items', in_items
|
||||||
);
|
);
|
||||||
|
|
||||||
-- create session from SQL Developer (not from APEX)
|
-- create session from SQL Developer (not from APEX)
|
||||||
|
|||||||
@ -29,8 +29,8 @@ CREATE OR REPLACE PACKAGE app_actions AS
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
in_settings_package CONSTANT VARCHAR2(30) := 'SETT';
|
in_settings_package CONSTANT VARCHAR2(30) := 'SETT';
|
||||||
in_settings_prefix CONSTANT VARCHAR2(30) := 'get_';
|
in_settings_prefix CONSTANT VARCHAR2(30) := 'get_';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -391,13 +391,13 @@ CREATE OR REPLACE PACKAGE BODY app_actions AS
|
|||||||
rec settings%ROWTYPE;
|
rec settings%ROWTYPE;
|
||||||
BEGIN
|
BEGIN
|
||||||
app.log_module_json (
|
app.log_module_json (
|
||||||
'in_action', in_action,
|
'action', in_action,
|
||||||
'in_name_old', in_setting_name_old,
|
'name_old', in_setting_name_old,
|
||||||
'in_name', in_setting_name,
|
'name', in_setting_name,
|
||||||
'in_value', in_setting_value,
|
'value', in_setting_value,
|
||||||
'in_group', in_setting_group,
|
'group', in_setting_group,
|
||||||
'in_is_numeric', in_is_numeric,
|
'is_numeric', in_is_numeric,
|
||||||
'in_is_date', in_is_date
|
'is_date', in_is_date
|
||||||
);
|
);
|
||||||
--
|
--
|
||||||
rec.app_id := app.get_app_id();
|
rec.app_id := app.get_app_id();
|
||||||
|
|||||||
@ -29,7 +29,7 @@ t AS (
|
|||||||
ON p.application_id = n.app_id
|
ON p.application_id = n.app_id
|
||||||
AND p.page_id = n.page_id
|
AND p.page_id = n.page_id
|
||||||
LEFT JOIN apex_applications a
|
LEFT JOIN apex_applications a
|
||||||
ON a.application_id = p.application_id
|
ON a.application_id = p.application_id
|
||||||
WHERE n.app_id IN (x.app_id, x.core_app_id)
|
WHERE n.app_id IN (x.app_id, x.core_app_id)
|
||||||
CONNECT BY n.parent_id = PRIOR n.page_id
|
CONNECT BY n.parent_id = PRIOR n.page_id
|
||||||
AND n.app_id = PRIOR n.app_id
|
AND n.app_id = PRIOR n.app_id
|
||||||
|
|||||||
@ -17,7 +17,7 @@ SELECT
|
|||||||
CASE
|
CASE
|
||||||
WHEN n.page_id > 0
|
WHEN n.page_id > 0
|
||||||
THEN REGEXP_REPLACE(REPLACE(n.page_name, '&' || 'APP_USER.', APEX_ESCAPE.HTML(NVL(curr.user_name, curr.user_id))), '^(&' || 'nbsp; )+', '')
|
THEN REGEXP_REPLACE(REPLACE(n.page_name, '&' || 'APP_USER.', APEX_ESCAPE.HTML(NVL(curr.user_name, curr.user_id))), '^(&' || 'nbsp; )+', '')
|
||||||
ELSE '</li></ul><ul class="EMPTY"></ul><ul><li class="HIDDEN" style="display: none;">' -- a trick to split nav menu to left and right
|
ELSE '</li></ul><ul class="EMPTY"></ul><ul><li style="display: none;">' -- a trick to split nav menu to left and right
|
||||||
END AS label,
|
END AS label,
|
||||||
--
|
--
|
||||||
CASE
|
CASE
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user