Skip to content

Drupal 10 Upgrade - #3

Open
humble-ahitofel wants to merge 6 commits into
masterfrom
drupal-10-upgrade
Open

Drupal 10 Upgrade#3
humble-ahitofel wants to merge 6 commits into
masterfrom
drupal-10-upgrade

Conversation

@humble-ahitofel

@humble-ahitofel humble-ahitofel commented May 21, 2024

Copy link
Copy Markdown
Member

Ready for review.

@humble-ahitofel
humble-ahitofel force-pushed the drupal-10-upgrade branch 2 times, most recently from 6b74565 to dc7378c Compare June 7, 2024 10:08
- Updated *.info.yml to be compatible with Drupal 10.
- Applied code style improvements using Rector for enhanced readability
and consistency.
- Added explicit array initialization to prevent warnings and ensure
proper variable usage.
- Standardized constant declarations to follow modern PHP visibility and
style conventions.
- Replaced deprecated pager_default_initialize() with pager.manager
service for pager initialization.
- Replaced deprecated drupal_set_message() with \Drupal::messenger()
->addError().
Switched the underlying search engine to RediSearch, removing all
references to ElasticSearch.
The current RediSearch PHP interface does not support multisorting. The
sorting needs to have a unique value, otherwise, paging behaves
strangely. This issue can be fixed when the RediSearch is upgraded
from 1.x to 2.x.
@humble-ahitofel humble-ahitofel changed the title Draft: Drupal 10 Upgrade Drupal 10 Upgrade Jun 7, 2024
- Search criteria are always applied to tags.
- Stripped the backslash from dashes in result summaries.
- Revised the <strong> closing tag; it was not working in all cases.
- Restored yearly sorting to the Kirjastot.fi search.
- Excluded asklib_question from Kirjastot.fi search.
The current version of RediSearch (7.x) requires only one backslash for escaping characters. All dash characters are escaped later in the KifiBuilder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant