Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Documents
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Martin
Documents
Commits
c2d33dfe
Commit
c2d33dfe
authored
1 month ago
by
jaapjansma
Browse files
Options
Downloads
Plain Diff
Merge branch 'fixes' into 'master'
Fixes See merge request
extensions/documents!40
parents
c1742415
30a0589c
Branches
master
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Civi/Api4/Service/Spec/Provider/DocumentGetSpecProvider.php
+1
-1
1 addition, 1 deletion
Civi/Api4/Service/Spec/Provider/DocumentGetSpecProvider.php
documents.php
+3
-1
3 additions, 1 deletion
documents.php
with
4 additions
and
2 deletions
Civi/Api4/Service/Spec/Provider/DocumentGetSpecProvider.php
+
1
−
1
View file @
c2d33dfe
...
...
@@ -156,4 +156,4 @@ class DocumentGetSpecProvider extends AutoService implements SpecProviderInterfa
}
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
documents.php
+
3
−
1
View file @
c2d33dfe
...
...
@@ -158,7 +158,9 @@ function documents_civicrm_tabset($path, &$tabs, $context) {
* @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_pageRun/
*/
function
documents_civicrm_pageRun
(
$page
)
{
if
(
$page
instanceof
CRM_Case_Page_Tab
)
{
if
(
$page
instanceof
CRM_Case_Page_Tab
&&
(
$page
->
getVar
(
'_action'
)
&
CRM_Core_Action
::
VIEW
)
)
{
$caseId
=
$page
->
getVar
(
'_id'
);
$page
=
new
CRM_Documents_Page_CaseDocuments
(
$caseId
);
$content
=
$page
->
run
();
...
...
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