Closed (fixed)
Project:
Custom Solr Search
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2016 at 09:21 UTC
Updated:
1 Jul 2016 at 12:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dishabhadra commentedAdded the Radio button to select the core and type for block to get the results.
Comment #3
dishabhadra commentedAdded the Solarium Filter Query based on Identifier types.
Comment #4
dishabhadra commentedComment #5
piyuesh23 commented@Disha,
The patch looks good. However, i think a little more effort would make the plugin more generic. Additional comments below:
Typo here.
I would suggest replacing $type with $options. This would make the function more extendable. e.g.,
i can later pass $options = array('sort' => 'date', 'filter' => array('format' => 'type'));
Also, don't think its a good idea to hardcode the query parameter to 'format' in this function.
Same as basicSearch()
Comment #6
dishabhadra commentedAll the review changes are done.
Remove the hardcoded format type and make it configurable.
Comment #7
harivenuvhi dishabhadra,
Can you please double check the patch (https://www.drupal.org/files/issues/block_plugin-2756975-1.patch), there is number of white spaces occurred..
Comment #8
swarad07Apart from whitespaces, I think the patch is also missing the Plugin directory. It is not present in 8.x-1.x, so should be part of this patch, no?
Comment #9
piyuesh23 commented@swarad, This patch is intended for 8.x-1.x-dev. Plugin directory was pushed in to dev as a part of the last patch.
Whitespace here.
Whitespace here.
Comment #10
dishabhadra commentedHi Piyuesh,
Whitespace is removed.
Comment #11
piyuesh23 commentedComment #12
swarad07Got it, did not realise there was a separate dev branch.