Skip to content
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

Feature/lxl 4149 title filters #1293

Merged
merged 5 commits into from
Sep 8, 2023
Merged

Conversation

kwahlin
Copy link
Contributor

@kwahlin kwahlin commented Aug 22, 2023

See LXL-4149 for more info.

it.hasPart?.size() > 1
|| it.hasPart?.any { p -> asList(p.partName).size() > 1
|| asList(p.partNumber).size() > 1 }
|| [it.mainTitle, it.titleRemainder, it.subtitle].findAll().toString() =~ /(?<!\/.+)(\s+;)/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why \/ in the regexp?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We allow semicolon when it's preceded by a slash (not aggregate).

Copy link
Contributor

@olovy olovy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

See suggestion

Copy link
Member

@niklasl niklasl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (and 👍 on the suggested clarification)!

Co-authored-by: Olov Ylinenpää <[email protected]>
@kwahlin kwahlin merged commit 4848285 into develop Sep 8, 2023
1 check passed
@kwahlin kwahlin deleted the feature/lxl-4149-title-filters branch November 9, 2023 08:40
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.

3 participants