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

feat: add feed endpoint filtering on persistentLocalId #1106

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

pgallik
Copy link
Contributor

@pgallik pgallik commented Oct 2, 2023

No description provided.

@pgallik pgallik requested a review from a team as a code owner October 2, 2023 09:54
@sonarcloud
Copy link

sonarcloud bot commented Oct 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
24.6% 24.6% Duplication

@YusufMavzer YusufMavzer merged commit 2cdb061 into main Oct 2, 2023
2 checks passed
@YusufMavzer YusufMavzer deleted the feedendpoint-objectid-filter branch October 2, 2023 10:01
.Where(x => x.PersistentLocalId == filtering.Filter.PersistentLocalId)
.OrderBy(x => x.Position)
.AsNoTracking();

Copy link
Member

Choose a reason for hiding this comment

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

Missing position filter:

if (!filtering.ShouldFilter)
    return addresses;

 if (filtering.Filter.Position.HasValue)
    addresses = addresses.Where(m => m.Position >= filtering.Filter.Position);

@basisregisters-vlaanderen
Copy link
Contributor

🎉 This PR is included in version 3.102.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants