Commit graph

101 commits

Author SHA1 Message Date
Rosie Le Faive
9492b7bb58 Enable mirroring to drupal gitlab. 2023-07-26 18:23:16 -04:00
Kyle Huynh
fe6bfe51d1
Create advanced_search.schema.yml 2023-06-28 17:04:54 -04:00
Kyle Huynh
6ce45f6540
Update AdvancedSearchQuery.php 2023-06-28 14:48:34 -04:00
Kyle Huynh
de445f96de
Update composer.json 2023-06-07 14:34:44 -04:00
Kyle Huynh
094342c05a
Merge pull request #32 from digitalutsc/1.x
Run the code though phpstan, phpcs
2023-06-07 11:24: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
Kyle Huynh
a0cd5351a3
Merge pull request #30 from digitalutsc/ajax-bug
Check if view argument is null before function call
2023-05-18 12:06:37 -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
9f7ea98073 Update README.md 2023-03-15 11:34:16 -04:00
Amy Li
6e102adc15 Update README.md 2023-03-15 11:34:15 -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
b7d439e08f
Update advanced_search.pager.css 2023-03-15 09:47:24 -04:00
Kyle Huynh
8fbdf55c4b
Update advanced_search.pager.css
Adjusted CSS for limit grid display only
2023-03-14 17:14:40 -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
Kyle Huynh
599fc81e39
Merge pull request #26 from amym-li/contrib
Searching using 'is not' when EDismax is enabled always returns no results
2023-03-14 16:38:20 -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
25183ffa25
Update advanced_search.form.css
Fix issue search form disappear after change condition from AND to OR
2023-03-13 17:06:22 -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
Kyle Huynh
4822f74362
Merge pull request #25 from rosiel/patch-1
Display "DESC" when showing default sort.
2023-03-07 14:55:43 -05:00
Rosie Le Faive
4dceaa7e90
Display "DESC" when showing default sort. 2023-03-07 11:27:51 -04:00
Natkeeran
22e1c78b00
Update README.md
update intro
2023-03-04 21:52:29 -05:00
Kyle Huynh
d6d2b4db65
Update README.md 2023-03-02 11:01:59 -05:00
Kyle Huynh
829efe5d63
Update advanced_search.form.js
Handle Page summary in the case of there is no results
2023-03-02 10:37:38 -05:00
Kyle Huynh
f1a680e5ad
Update soft-limit.js 2023-02-28 10:25:53 -05: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
03d05ca2c2
Update facets-views-ajax.js 2023-02-09 09:51:19 -05:00
Kyle Huynh
9db244bf4b
Update README.md 2023-02-07 22:23:56 -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