Skip to content

If You run a filter against the live service to only show certain sta…#77

Merged
omgoo merged 1 commit intotnafrom
tna-no-fuzzy-match-with-filters
Apr 19, 2023
Merged

If You run a filter against the live service to only show certain sta…#77
omgoo merged 1 commit intotnafrom
tna-no-fuzzy-match-with-filters

Conversation

@omgoo
Copy link
Copy Markdown
Member

@omgoo omgoo commented Apr 11, 2023

…tus codes and there are no results for that filter, PYWB will attempt to ditch your filter and just return the first 100 results it has for that URL.

So, by default PYWB will try to get all 2xx and 3xx results. If none exist, it will then give you 100 4xx and 5xx results it has for that URL.

I've changed the logic to not do the extra return if filters are supplied to the query. I need this to be tested extensively and confirmed non-destructive before we merge.

Description

Motivation and Context

Screenshots (if appropriate):

Types of changes

  • Replay fix (fixes a replay specific issue)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added or updated tests to cover my changes.
  • All new and existing tests passed.

…tus codes and there are no results for that filter, PYWB will attempt to ditch your filter and just return the first 100 results it has for that URL.

So, by default PYWB will try to get all 2xx and 3xx results.  If none exist, it will then give you 100 4xx and 5xx results it has for that URL.

I've changed the logic to not do the extra return if filters are supplied to the query. I need this to be tested extensively and confirmed non-destructive before we merge.
@omgoo omgoo requested a review from mijho April 11, 2023 15:43
@omgoo omgoo merged commit 3274de6 into tna Apr 19, 2023
@omgoo omgoo deleted the tna-no-fuzzy-match-with-filters branch April 19, 2023 14:05
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.

2 participants