Attached patch allows for the title to be displayed. Since 'item_list' already has a "title", we can provide it via the settings from the facet UI
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | facet-title-patch-result.png | 3.36 KB | ruturaj chaubey |
| #8 | facet-settings-form-result.png | 27.1 KB | ruturaj chaubey |
| #7 | Screenshot from 2022-03-21 12-38-49.png | 24.04 KB | libbna |
| #6 | space-in-if-stmt-3154429-6.patch | 1.07 KB | libbna |
Issue fork search_api_glossary-3154429
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
Comment #2
drcolossos commentedComment #3
kristen polThanks for the issue and patch!
I'm working on creating a Drupal 9 release and am reviewing all "needs review" issues in the process.
Confirmed that the patch still applies cleanly and modifies:
as expected.
Nitpick: Add space after the "if".
It would also be good to have steps for testing. Thanks!
Comment #4
kristen polAnd screenshots :)
Comment #5
libbna commentedComment #6
libbna commentedAdded a space after if.
Steps for testing:
git clone --branch '8.x-4.x' https://git.drupalcode.org/project/search_api_glossary.gitwget 3154429-1-show-facet-title.patchgit apply path_of_the_patch_ifgit diff > space-in if-stmt-3154429-6.patchComment #7
libbna commentedAdding a screenshot.
Comment #8
ruturaj chaubeyThe patch works fine.
Comment #10
kristen polThanks for updating the patch @Libbna. When I asked for testing steps, I meant testing the functionality works with the patch :)
Since @Ruturaj Chaubey has tested and provided screenshots (thanks!) and this is such a simple change, I'll try to get it in now.
Comment #12
kristen polThis has been merged and will be part of this release: #3377587: Create 8.x-4.2 release.
Comment #13
kristen polReleased: https://www.drupal.org/project/search_api_glossary/releases/8.x-4.2