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

Fill in blanks for IntegerWeightSelector (Islandora#2065) #863

Merged

Conversation

antbrown
Copy link

GitHub Issue: Islandora/documentation#2065

What does this Pull Request do?

Fills in the blanks on the IntegerWeightSelector views form when the number of $options is less than the total number of rows in the view.

What's new?

How should this be tested?

  • Reproduce issue by creating a paged content repository item, add two child objects, set both of their weights to 1 and save.

Documentation Status

  • I don't think this requires any changes to documentation.

Additional Notes:

none.

Interested parties

@Islandora/8-x-committers

@jordandukart jordandukart self-assigned this Mar 23, 2022
@jordandukart
Copy link
Member

Nice catch, can confirm this change does allow for more options than just a singular 1 to be present.

Copy link
Member

@jordandukart jordandukart left a comment

Choose a reason for hiding this comment

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

Going to let this percolate for a day or so and if no-one objects I'll merge and mint a patch release.

@antbrown
Copy link
Author

Thanks @jordandukart - I missed some extra whitespace at the end of a comment. If possible, I suggest squashing the two commits together if it gets approved. Cheers, Ant.

@antbrown
Copy link
Author

The tests that failed look like they couldn’t resolve dependencies- looks unrelated to the change I’ve made.

@jordandukart
Copy link
Member

jordandukart commented Mar 25, 2022

Yep tests are being fixed in https://github.com/Islandora/islandora/pull/862/files, once that gets in we'll move this along. Honestly if I had admin I'd just merge now as your changes aren't what's breaking the tests.

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