-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add a 'weight' field to the Repository Item content type #1261
Comments
Linking to #932 |
Playing with this a bit to test for the sprint. I'm wondering what we should set for a default range, and can we set a default to auto-increment by assigning the heaviest weight? In other words, make it so that each new page gets added to the end of the book by default, if using the GUI. I tried a range of 1000, and nothing choked, but I assume that anyone building books page-by-page from the front end would rather not select the exact page number every time. |
@manez We use the |
I've used 1000 as a range with no issues. |
I don't know if this is just me, but the field_weight settings aren't sticking. I updated my test site to the current master and did the feature import, but it is still showing the active config settings as only the default I have the latest weight version (8.x-3.1). Hmmm... opening the field edit page throws a number of notices... something is going on with the module. |
Alright, I checked my other test site that was already using the weight module and it isn't throwing any errors on the edit form, but it also doesn't have all the same form fields (despite the modules both reporting the same version). |
Okay, I see what's going on here... the new field_weight is using the integer field type, not the weight field type. My dev box got confused because it already had a field_weight using the weight field type and so the settings didn't apply. |
Resolved via Islandora/islandora_defaults@09355d9 |
We'll be using the weight module to add page ordering for paged content. We should go ahead and add that to the Repository Item content type provided by
islandora_defaults
.weight
module to theislandora_defaults
info file:System
section.islandora_defaults
featureThe text was updated successfully, but these errors were encountered: