Problem/Motivation

For Block Plugin integrate the facet search block.

Proposed resolution

Implement the query filter for facet search in block plugin.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dishabhadra created an issue. See original summary.

dishabhadra’s picture

StatusFileSize
new9.72 KB

Hi Piyuesh,

Added the facet wuery integration for block Plugin.

Review my code.

dishabhadra’s picture

Status: Active » Needs review
dishabhadra’s picture

StatusFileSize
new9.76 KB
dishabhadra’s picture

StatusFileSize
new5.11 KB
rakesh.gectcr’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine to me.. Can we get this commited..

yogeshmpawar’s picture

Assigned: dishabhadra » yogeshmpawar
yogeshmpawar’s picture

Assigned: yogeshmpawar » Unassigned
yogeshmpawar’s picture

urvashi_vora made their first commit to this issue’s fork.

urvashi_vora’s picture

Status: Reviewed & tested by the community » Needs work

The patch doesn't apply for me.
It needs work.

urvasi@urvasi-Inspiron-15-3552:/var/www/html/contribution/drupal8/web/modules/contrib/custom_solr_search-2777521$ git apply -v facet_search_block-2777521-5.patch
Checking patch src/Plugin/Block/CustomSolrSearchResultBlock.php...
error: while searching for:
    $this->setConfigurationValue('custom_solr_search_limit', $form_state->getValue('custom_solr_search_limit'));
    $this->setConfigurationValue('custom_solr_search_offset', $form_state->getValue('custom_solr_search_offset'));
    $this->setConfigurationValue('custom_solr_search_result_view_more', $form_state->getValue('custom_solr_search_result_view_more'));

  }

  /**

error: patch failed: src/Plugin/Block/CustomSolrSearchResultBlock.php:128
error: src/Plugin/Block/CustomSolrSearchResultBlock.php: patch does not apply
Checking patch src/Plugin/Block/FacetBlock.php...
error: src/Plugin/Block/FacetBlock.php: No such file or directory