Skip to content

Honor ignoreCase() from Sort.Order. #2274

@pelletier197

Description

@pelletier197

In spring data neo4j 5, We used to be able to sort ignoring the case. This doesn't seem supported anymore

This is the old query that was created by spring-data-neo4j 5

MATCH (department:Department)
RETURN department ORDER BY toLower(department.name) ASC SKIP $sdnSkip LIMIT $sdnLimit

And now, with version 6

MATCH (department:Department) 
RETURN department ORDER BY department.name ASC SKIP $skip LIMIT $limit

Here is the Pageable I use.

PageRequest.of(0, 10, Sort.by(Sort.Order.by("department.name").ignoreCase()))

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions