Kyle Huynh
c686b20edf
Fixed for https://github.com/digitalutsc/advanced_search/issues/4
2024-03-14 14:16:33 -04:00
Josh d'Entremont
b76df3f12a
fix for ajax call error
2023-10-10 15:31:45 -03:00
Rosie Le Faive
c07f09082b
Replace comment.
2023-09-26 14:04:02 -03:00
Rosie Le Faive
f60b4f28e6
Case sensitive.
2023-09-26 13:09:03 -03:00
Rosie Le Faive
ca08cbb0b4
Implement
2023-09-26 13:04:50 -03:00
Rosie Le Faive
eb63eb8c4c
Use EventSubscriberInterface.
2023-09-26 13:02:55 -03:00
Rosie Le Faive
4db8602124
PHPCS.
2023-09-26 13:01:34 -03:00
Rosie Le Faive
6123df49a2
Add event subscriber.
2023-09-26 12:51:02 -03:00
Rosie Le Faive
e650f3a19b
Use syntax that works with http-foundation 6.
2023-08-14 11:40:26 -03:00
Kyle Huynh
6ce45f6540
Update AdvancedSearchQuery.php
2023-06-28 14:48:34 -04:00
Kyle Huynh
8e43f84c7c
Fixed code standard for t()
2023-06-07 10:58:55 -04:00
Kyle Huynh
d1692db53a
Fixes for the error which phpcbf can't fix
2023-06-07 01:35:02 -04:00
Kyle Huynh
0940670323
Run phpcs and phpcbf
2023-06-07 00:59:16 -04:00
Kyle Huynh
9557ca17d5
Fixed "new static" is unsafe
2023-06-06 11:37:11 -04:00
Kyle Huynh
0c2504c4c7
Merge pull request #31 from digitalutsc/search_highlight
...
Search highlight
2023-06-02 01:34:01 -04:00
Amy Li
489c3c7046
Check if view argument is null before function call
2023-05-15 16:27:05 -04:00
Kyle Huynh
39efb6bb51
Merge pull request #27 from amym-li/search-highlight
...
Implement search highlighting
2023-03-16 12:47:26 -04:00
Kyle Huynh
5756be015d
Update AdvancedSearchQueryTerm.php
...
Replaced ! with - for "is not" after further testings
2023-03-15 23:06:07 -04:00
Amy Li
506da48b59
If highlighting enabled, make search api query 'keys' field non-empty
...
The search api highlight processor checks if the 'keys' field is non-empty and then creates the excerpt. Since we are getting the highlighting result from Solr instead of creating one using the search api processor, we just need to make this field non-empty
2023-03-15 11:34:15 -04:00
Amy Li
84a1c78ad1
Implement search excerpts and highlighting
...
Todo: need to get keywords from search block
2023-03-15 11:34:15 -04:00
Kyle Huynh
e698a7c6c7
Update AdvancedSearchQueryTerm.php
...
Applied Amy's fix for "is not" for exact match with double quotation
2023-03-14 17:09:41 -04:00
Kyle Huynh
6b75e99407
Merge pull request #28 from amym-li/edismax-settings
...
EDismax option cannot be unchecked on settings form
2023-03-14 17:06:17 -04:00
Amy Li
01e49c965a
Fix issue where EDismax cannot be disabled on settings form
2023-03-14 15:08:59 -04:00
Amy Li
9625a0a6a7
Fix 'is not' search not working for keywords containing more than one word
2023-03-14 10:38:31 -04:00
Amy Li
9320116290
Query string becomes malformed when using 'is not' with Edismax enabled
2023-03-14 09:22:24 -04:00
Kyle Huynh
ddbd38e818
Update SearchResultsPagerBlock.php
2023-03-13 12:05:39 -04:00
Kyle Huynh
c38487eb3b
Update AdvancedSearchQueryTerm.php
...
Fixed the use case of multiple condition and one of condition has keyword with multiple words
2023-03-09 09:34:14 -05:00
Kyle Huynh
1805404b00
Update AdvancedSearchQueryTerm.php
...
Fixed the use case: quoted keywords cotain \
2023-03-09 09:30:16 -05:00
Rosie Le Faive
4dceaa7e90
Display "DESC" when showing default sort.
2023-03-07 11:27:51 -04:00
Kyle Huynh
812ca8a37d
Update AdvancedSearchBlock.php
2023-02-24 17:18:53 -05:00
Kyle Huynh
f8effedcd6
Update AdvancedSearchBlock.php
...
Change this to have Context Filter option appear in Advanced Search Block Config
2023-02-24 15:10:53 -05:00
Kyle Huynh
3fdb8408ab
Update SearchForm.php
2023-02-10 16:16:11 -05:00
Kyle Huynh
baf239e858
Update SearchBlock.php
2023-02-10 16:15:15 -05:00
Kyle Huynh
0b71b649fc
Update SearchForm.php
2023-02-10 15:06:44 -05:00
Kyle Huynh
134e8aa4aa
Update SearchForm.php
...
Added aria label for Search textbox
2023-02-09 17:05:06 -05:00
Kyle Huynh
e632b96314
Remove theme wrapper to avoid redudent
2023-02-09 16:13:53 -05:00
Kyle Huynh
a83b9849f6
Update documenation for Settings Form
2023-02-07 16:35:13 -05:00
Kyle Huynh
2bbf072838
Update AdvancedSearchForm.php
2023-02-07 13:32:32 -05:00
Kyle Huynh
ea2f01bce3
Fixed a logic issue in Settings form
2023-02-07 11:13:01 -05:00
Kyle Huynh
b1b0065c2a
Added a check for Simple Search block to work only if "Enable Search Fields" is enable.
2023-02-07 10:21:42 -05:00
Kyle Huynh
2f3826fac1
Update SettingsForm.php
2023-02-07 09:47:37 -05:00
Kyle Huynh
d1480afec9
Add aria-label for item per page link
2023-02-02 16:32:37 -05:00
Kyle Huynh
6f32b52ad4
Fixed wildcard search for single field search
2023-02-02 16:21:09 -05:00
Kyle Huynh
ec96982005
Added aria-label to Search Results Pager block
2023-02-02 14:47:07 -05:00
Kyle Huynh
d30c8eda8a
Added config for turn on/off display mode (grid and list)
2023-02-02 11:15:08 -05:00
Kyle Huynh
f747931c28
Removed Include/Exclude facets option
2023-02-01 23:12:29 -05:00
Kyle Huynh
df34155e27
Enable Edismax mode by default
...
Remove the case insensitive field config
2023-02-01 17:07:08 -05:00
Kyle Huynh
d8a87ce0da
Enabled edismax for field search as well
...
Change wording in configiration view
2023-01-31 11:20:28 -05:00
Kyle Huynh
083add1792
Update SearchResultsPagerBlock.php
2023-01-30 16:47:31 -05:00
Kyle Huynh
6ce95da8db
Update IncludeExcludeLinksWidget.php
...
This widget doesn't currently work, need more reviews.
Remove "*" to hide the registry of this widget to prevent it show up in Facets configuration
2023-01-26 16:24:34 -05:00