Skip to content

Drupal 10 Upgrade #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Drupal 10 Upgrade #3

wants to merge 5 commits into from

Conversation

humble-ahitofel
Copy link
Member

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

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