Skip to content

Commit

Permalink
Merge pull request #114 from BenjaminMedia/IFD-419/fix-search
Browse files Browse the repository at this point in the history
Ifd 419/fix search
  • Loading branch information
jonastanz authored Aug 17, 2021
2 parents cfc3633 + 3afa0d9 commit 83d17c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Services/QueryLanguage.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class QueryLanguage
public static function getQuery($orgPrefix, $strQuery)
{
//Default search field priority
$strFieldPriority = 'title^3, '.$orgPrefix.'-taxo-cat^2, description^2, '.$orgPrefix.'-taxo-cat-top^1, body^1';
$strFieldPriority = 'title^3, '.$orgPrefix.'-taxo-cat^2, description^2, heading^2, '.$orgPrefix.'-taxo-cat-top^1, body^1';
$strQuery = '"' . stripslashes($strQuery) . '"';
$strQuery = $strFieldPriority . ':' . $strQuery;
$strQuery = 'query(' . $strQuery . ')';
Expand Down
2 changes: 1 addition & 1 deletion wp-cxense.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: WP cXense
* Version: 3.2.6
* Version: 3.2.7
* Plugin URI: https://github.com/BenjaminMedia/wp-cxense
* Description: This plugin integrates your site with cXense by adding meta tags and calling the cXense api
* Author: Bonnier - Alf Henderson
Expand Down

0 comments on commit 83d17c8

Please sign in to comment.