Skip to content

Commit

Permalink
Merge pull request #15 from netgen/feature-user-enabled-block-mapper
Browse files Browse the repository at this point in the history
Convert UserEnabledFieldMapper to block mapper & make criterion visitor available for both content and location searches
  • Loading branch information
hknezevic authored Jan 15, 2025
2 parents 76bb602 + 2e21447 commit 015193c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Netgen\IbexaSearchExtra\Core\Search\Solr\Query\Content\CriterionVisitor;
namespace Netgen\IbexaSearchExtra\Core\Search\Solr\Query\Common\CriterionVisitor;

use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\Solr\Query\CriterionVisitor;
Expand Down
3 changes: 2 additions & 1 deletion lib/Resources/config/search/solr/criterion_visitors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ services:
- { name: ibexa.search.solr.query.location.criterion.visitor }

netgen.ibexa_search_extra.solr.query.content.criterion_visitor.user_enabled:
class: Netgen\IbexaSearchExtra\Core\Search\Solr\Query\Content\CriterionVisitor\UserEnabled
class: Netgen\IbexaSearchExtra\Core\Search\Solr\Query\Common\CriterionVisitor\UserEnabled
tags:
- { name: ibexa.search.solr.query.content.criterion.visitor }
- { name: ibexa.search.solr.query.location.criterion.visitor }
4 changes: 2 additions & 2 deletions lib/Resources/config/search/solr/field_mappers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
tags:
- { name: ibexa.search.solr.field.mapper.location }

netgen.ibexa_search_extra.solr.field_mapper.content.user_enabled:
netgen.ibexa_search_extra.solr.field_mapper.common.user_enabled:
class: Netgen\IbexaSearchExtra\Core\Search\Solr\FieldMapper\Content\UserEnabledFieldMapper
tags:
- { name: ibexa.search.solr.field.mapper.content }
- { name: ibexa.search.solr.field.mapper.block }

0 comments on commit 015193c

Please sign in to comment.