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: Implement startsWith Filter for Number Columns - 1350 #1373

Merged

Conversation

hamed-valiollahi
Copy link
Collaborator

This PR implements a startsWith filter for number columns in the following tables:

BCeID:

  • Transactions (Units, Value per unit)

IDIR:

  • Transactions (Units, Value per unit)
  • Fuel Codes (Iteration, Carbon Intensity)
  • Administration > User Login History (User Login History ID)
  • Administration > Audit Log (Row ID)

Closes #1350

Copy link

github-actions bot commented Dec 5, 2024

Backend Test Results

449 tests  ±0   449 ✅ ±0   1m 46s ⏱️ -1s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit eadb9b0. ± Comparison against base commit 8e4aa91.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 5, 2024

Frontend Test Results

  1 files  ±0  115 suites  ±0   37s ⏱️ -1s
385 tests ±0  365 ✅ ±0  20 💤 ±0  0 ❌ ±0 
387 runs  ±0  367 ✅ ±0  20 💤 ±0  0 ❌ ±0 

Results for commit eadb9b0. ± Comparison against base commit 8e4aa91.

♻️ This comment has been updated with latest results.

else:
field = get_field_for_filter(FuelCode, field_name)

if field is None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Great check!

Copy link
Collaborator

@areyeslo areyeslo left a comment

Choose a reason for hiding this comment

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

LGTM

@dhaselhan
Copy link
Collaborator

This is going to majorly conflict with the original feature to sort / filter columns.
#1340

I really didn't expect this to get reviewed first.

@AlexZorkin
Copy link
Collaborator

Let's get this merged.

@hamed-valiollahi hamed-valiollahi merged commit f2e379b into release-0.2.0 Dec 9, 2024
1 check passed
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.

LCFS - Improve Number Filtering
4 participants