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

Fix regression in medium track count comparison #2396

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

reosarevok
Copy link
Member

The order in this row was switched for (I assume) readability (track_count first like elsewhere), but for some reason < turned into >=. We do not want to show there are unloaded tracks if the track count is exactly the same as the amount of loaded tracks though!

The order in this row was switched for (I assume) readability
(track_count first like elsewhere), but for some reason
< turned into >=. We do not want to show there are
unloaded tracks if the track count is exactly the same
as the amount of loaded tracks though!
@reosarevok reosarevok added the Regression/Beta Bugs that are either on beta or new regressions and should be checked ASAP label Jan 25, 2022
Copy link
Contributor

@yvanzo yvanzo left a comment

Choose a reason for hiding this comment

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

Also tested locally with pink database and various releases with more than 100 tracks. 🚢

@reosarevok reosarevok merged commit bd90690 into metabrainz:beta Jan 25, 2022
@reosarevok reosarevok deleted the fix-medium-tracks-regression branch January 25, 2022 09:40
mwiencek added a commit that referenced this pull request Jan 31, 2022
* beta:
  Fix regression in medium track count comparison (#2396)
reosarevok added a commit that referenced this pull request Jan 31, 2022
* beta:
  Update POT files using the production database
  Update translations from Transifex
  Fix Data::Recording test flakiness
  Remove parallel processing on prove
  Increase default avatar size & remove bg/border
  Add a default editor avatar for display
  Fix regression in medium track count comparison (#2396)
  Update POT files using the production database
  Update translations from Transifex
  MBS-12155: Filter out downvoted tags from JSON WS user-tags/genres (#2385)
  MBS-12161: Expand, not replace, FormHandler Text's validate (#2384)
  Don't follow type tables for incremental sitemaps (#2393)
  MBS-12132: Allow Apple Music music-video links for releases (#2375)
  MBS-12127: Allow batch-changing all blank artist credits (#2364)
  MBS-11986: Block spammer profiles from being seen
  MBS-11986: Block accounts with spammer flag from logging in
  MBS-12128: Split negative and positive user "privileges"
  MBS-11986: New account flag: Spammer
  Delete CODE_OF_CONDUCT.md and use org default (#2390)
  Respond with Bad Request for "invalid session ID" (#2369)
  MBS-12137: Remove Gravatar (#2366)
  Disable broken Amazon cover art lookup
  Bump Flow to 0.169.0
  Fix uninitialized value in string eq warning
  Fix use of uninitialized value in SetCoverArt
  Filter empty string IDs in Data::Edit::load_all
  Fix uninitialized value warning sending email
  Fix undef var warning on user tags page
  Fix warning submitting unlinked artist credits
  Fix track_count warning for medium edits
  Bump cookie to v0.4.1
  Bump shell-quote to v1.7.3
  Bump ShellJS to v0.8.5
  MBS-12121: Actually show parent changes in EditRelationshipType (#2360)
  Remove unneeded Number() cast
  MBS-12164: Use formatCount also on tag cloud numbers
  MBS-12167: Use returnToCurrentPage in UserSubscriptions action (#2383)
  MBS-12159: Add support for Amazon.pl (#2380)
  MBS-12142: Use formatCount also on search result numbers
  Update package.json github URLs to use https
  Revert private to false
  Change private to false
  Bump Flow to 0.168.0
  MBS-12133: Allow % in jazzmusicarchives URLs (#2370)
  MBS-11995: Test error messages in external links editor (#2290)
  MBS-7727: Restrict Soundcloud to only "get the music" rels (#2321)
  Use a valid SPX License expression More information available at https://spdx.org/licenses/
  MBS-10715: Block amzn.to redirect link
  MBS-10716: Block apple.co redirect links
  Use texp where possible
  Use commaOnlyListText where possible
  Use bracketedText where possible
  Use addColonText where possible
  MBS-12049: Convert the edit index page to React
  Convert Edit::Open test to use real data
  Convert Edit::Show test to use real data
  Remove no longer needed tt functions for edit display
  Remove unused import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression/Beta Bugs that are either on beta or new regressions and should be checked ASAP
Projects
None yet
2 participants