Skip to content

Commit

Permalink
fix: solr accents (#232)
Browse files Browse the repository at this point in the history
* fix: remove double encoding

* fix: exclude from search
  • Loading branch information
64knl committed May 15, 2024
1 parent 3fc8ed5 commit cb87c4f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Services/Indexer/IndexBuilderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ private function indexChildPages($parentId)

$menu = Menu::whereId($page->id)->firstOrFail();

if (! isset($page->template->properties->searchable) || $page->template->properties->searchable == 0) {
$this->writeDebug(" skipping, template not searchable\n");

} elseif (isset($page->properties->excludeFromSearch) && $page->properties->excludeFromSearch == true) {
if (isset($page->properties->excludeFromSearch) && $page->properties->excludeFromSearch == true) {
$this->writeDebug(" skipping, page not searchable\n");

} else {
Expand Down

0 comments on commit cb87c4f

Please sign in to comment.