-
Notifications
You must be signed in to change notification settings - Fork 118
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
Issue #2170: Sort "manage members" View results by field_weight #900
Conversation
View config export failing in 9.5.x-dev. I'll try to update Drupal to that version and try again. |
Which, I'm not surprised to find out, is not as easy as https://www.drupal.org/project/drupal/releases/9.5.x-dev makes it sound:
Anybody got any suggestions on how to proceed? |
Must be the new composer version that was causing problems in the playbook, because I'm sure this worked before. These do not block merging, so I'm ok to merge anyway and we take this into a different issue? |
I got this completely wrong. If you're working with an existing root Drupal composer.json, then you probably need to set That said... CI does a 'fresh' install and its problems were not the same as your problem... (I wrongly assumed it was). The CI is running into this:
Something is not doing dependency injection right. I can't tell if it's our code, or if the 9.5.x-dev branch did an oops. I'll see if i can install and test. |
I could revise my PR to just add the new sort YAML (https://github.com/Islandora/islandora/pull/900/files#diff-75da1677d22de691f5278bdeb8be7c26971d9e4492f7981ee093fb90a4116ef2R218-R231) to the existing View config YAML and see if that passes, if you want. |
See #899 (comment) for my diagnosis of this problem. |
Your code seems fine to me (and a reminder that we should update our core configs more often). [edit to add: the problem seems to be within drupal 9.5. I did a site update and replicated the error any time i tried to commit anything to the database) This code change (and the testing procedure) does lead me to ask: Should we create an update hook for this, which would remove any edits one may have made to the Members list? (I would imagine that I'd at least add thumbnails if i had a Members list) |
I think a change in the View config YAML only applies on module install, so existing local mods to the Manage Members View would not be touched unless someone uninstalled, then reinstalled the features module. Could be wrong about that however. If that's correct, I'm still willing to try adding the new |
As you wish. I'm ok with the diff as it is. I don't think it's causing the errors. IIRC @whikloj suggested |
OK, let's leave the PR as is. Is the plan to merge without 9.5.x-dev passing? |
@rosiel , do you have permission to force the merge despite the failing tests, or do you need someone else to? |
GitHub Issue: Islandora/documentation#2170
What does this Pull Request do?
Adds a sort (by
field_weight
, ascending) to the Manage Members View.What's new?
Added a Sort Criteria to all displays in the Manage Members View, depicted in the View admin GUI as:
No
(i.e. Regeneration activity, etc.)?
No
No
How should this be tested?
Documentation Status
No
No
n/a
Additional Notes:
I exported this View YAML using /admin/config/development/configuration/single/export (Drupal 9.4.3). There seem to be more changes in the YAML than I expected.
Interested parties
@Islandora/committers