Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
domain_access_search_api
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
domain_access_search_api
Commits
7ab84b19
Commit
7ab84b19
authored
1 year ago
by
Nia Kathoni
Committed by
Daniel Cothran
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3311845
by nikathone, Floris Vedder: Send to all affiliates option not working
parent
dc327775
Branches
8.x-1.x
Tags
8.x-1.4
1 merge request
!6
Issue #3311845: Send to all affiliates option not working
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/views/filter/DomainAccessSearchApiCurrentAllFilter.php
+1
-1
1 addition, 1 deletion
...in/views/filter/DomainAccessSearchApiCurrentAllFilter.php
with
1 addition
and
1 deletion
src/Plugin/views/filter/DomainAccessSearchApiCurrentAllFilter.php
+
1
−
1
View file @
7ab84b19
...
...
@@ -47,7 +47,7 @@ class DomainAccessSearchApiCurrentAllFilter extends BooleanOperator {
$domain_negotiator
=
\Drupal
::
service
(
'domain.negotiator'
);
$current_domain
=
$domain_negotiator
->
getActiveDomain
();
if
(
$current_domain
&&
!
empty
(
$this
->
value
))
{
$this
->
query
->
addWhere
(
0
,
$this
->
realField
,
$current_domain
->
id
(),
"="
);
$this
->
query
->
addWhere
(
$this
->
options
[
'group'
]
,
$this
->
realField
,
$current_domain
->
id
(),
"="
);
}
}
...
...
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