Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
95a8ac8d
Commit
95a8ac8d
authored
11 years ago
by
eileen
Browse files
Options
Downloads
Patches
Plain Diff
CRM-12160 menu fixes for 4.3
parent
c55ee104
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Upgrade/Incremental/sql/4.3.alpha1.mysql.tpl
+3
-3
3 additions, 3 deletions
CRM/Upgrade/Incremental/sql/4.3.alpha1.mysql.tpl
CRM/Upgrade/Incremental/sql/4.3.alpha2.mysql.tpl
+2
-2
2 additions, 2 deletions
CRM/Upgrade/Incremental/sql/4.3.alpha2.mysql.tpl
with
5 additions
and
5 deletions
CRM/Upgrade/Incremental/sql/4.3.alpha1.mysql.tpl
+
3
−
3
View file @
95a8ac8d
...
...
@@ -131,7 +131,7 @@ UPDATE civicrm_country SET name = 'Libya' WHERE name LIKE 'Libyan%';
UPDATE civicrm_country SET name = 'Congo, Republic of the' WHERE name = 'Congo';
-- CRM-10621 Add component report links to reports menu for upgrade
SELECT @reportlastID := MAX(id) FROM civicrm_navigation where name = 'Reports';
SELECT @reportlastID := MAX(id) FROM civicrm_navigation where name = 'Reports'
AND domain_id =
{
$domainID
}
;
SELECT @max_weight := MAX(ROUND(weight)) from civicrm_navigation WHERE parent_id = @reportlastID;
INSERT INTO civicrm_navigation
...
...
@@ -461,7 +461,7 @@ UPDATE civicrm_navigation SET `label` = 'Financial Types', `name` = 'Financial
-- CRM-9199
-- Insert menu item at Administer > CiviContribute, below the section break below Premiums (Thank-you Gifts), just below Financial Account.
SELECT @parent_id := id from `civicrm_navigation` where name = 'CiviContribute';
SELECT @parent_id := id from `civicrm_navigation` where name = 'CiviContribute'
AND domain_id =
{
$domainID
}
;
SELECT @add_weight_id := weight from `civicrm_navigation` where `name` = 'Financial Types' and `parent_id` = @parent_id;
UPDATE `civicrm_navigation`
...
...
@@ -475,7 +475,7 @@ VALUES
(
{
$domainID
}
, 'civicrm/admin/financial/financialAccount
&
reset=1', '
{
ts
escape
=
"sql"
skip
=
"true"
}
Financial Account
{/
ts
}
', 'Financial Account', 'access CiviContribute,administer CiviCRM', 'AND', @parent_id, '1', NULL, @add_weight_id + 1 );
-- CRM-10944
SELECT @contributionlastID := max(id) from civicrm_navigation where name = 'Contributions';
SELECT @contributionlastID := max(id) from civicrm_navigation where name = 'Contributions'
AND domain_id =
{
$domainID
}
;
SELECT @pledgeWeight := weight from civicrm_navigation where name = 'Pledges' and parent_id = @contributionlastID;
...
...
This diff is collapsed.
Click to expand it.
CRM/Upgrade/Incremental/sql/4.3.alpha2.mysql.tpl
+
2
−
2
View file @
95a8ac8d
...
...
@@ -16,14 +16,14 @@ UPDATE `civicrm_navigation`
name = 'Closed Batches' OR
name = 'Exported Batches' OR
name = 'Accounting Batches';
UPDATE `civicrm_navigation`
SET permission = 'create manual batch'
WHERE
name = 'Accounting Batches';
-- CRM-11891
SELECT @contributionlastID := max(id) from civicrm_navigation where name = 'Contributions';
SELECT @contributionlastID := max(id) from civicrm_navigation where name = 'Contributions'
AND domain_id =
{
$domainID
}
;
SELECT @importWeight := weight from civicrm_navigation where name = 'Import Contributions' and parent_id = @contributionlastID;
-- since 'Bulk Data Entry' was renamed to 'Batch Data Entry'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment