[Bug 32773] New: Have the ability to have more than 1 Fast Add framework
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Bug ID: 32773 Summary: Have the ability to have more than 1 Fast Add framework Change sponsored?: --- Product: Koha Version: 21.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: george@nekls.org QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Currently the only fast add framework is the FA framework. I'd like the ability to create new/additional frameworks and designate them as fast add frameworks too. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 koha-US bug tracker <bugzilla@koha-us.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@koha-us.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Miranda Nero <mnero@oslri.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mnero@oslri.net --- Comment #1 from Miranda Nero <mnero@oslri.net> --- We would also like this. We have the majority of our libraries use the FA framework when creating new records, so it would be great to have the option to pre-fill fields based on format with different FA frameworks. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Angela Berrett <angela.berrett@familysearch.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |angela.berrett@familysearch | |.org --- Comment #2 from Angela Berrett <angela.berrett@familysearch.org> --- We would also like to see this - we have several projects being done by vendors or non-cataloger groups and each needs specific fields in a FA framework. We don't want to give any of them full cataloging rights. Having a specific framework for each project would be extremely helpful. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Michelle Spinney <mspinney@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mspinney@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Lauren Denny <lauren_denny@sil.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lauren_denny@sil.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blawlor@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Christopher Brannon <cbrannon@cdalibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cbrannon@cdalibrary.org --- Comment #3 from Christopher Brannon <cbrannon@cdalibrary.org> --- We would like this. We use it for ILL workflow, so having more than one framework would really help in this. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Nancy M. <nmumford@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nmumford@clamsnet.org --- Comment #4 from Nancy M. <nmumford@clamsnet.org> --- CLAMS really needs this option too. We need the ability for our libraries to be able to maintain their Library of Things records without asking central cataloging to add and delete bib information. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #5 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173401 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173401&action=edit Bug 32773: Add AllowAsFastAddFrameworks system preference This patch adds a new multiselect system preference that allows making selections from a list of biblioframeworks To test: 1. Apply patch 2. Update database perl installer/data/mysql/updatedatabase.pl 3. Search System preferences for 'AllowAsFastAddFrameworks' 4. See the dropdown list is populated from bibliographic frameworks 5. Go to Administration > MARC Bibliographic frameworks add a new framework 6. Confirm the new option is available in 'AllowAsFastAddFramework' -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #6 from Brendan Lawlor <blawlor@clamsnet.org> --- Posting work in progress for feedback. My idea is that admins could select specific bibliographic frameworks in the AllowAsFastAddFramework preference and then we could make those forms available to users who only have the fast_cataloging permission. They would be able to use the same dropdown to change the framework, but instead of really changing the framework it would just change the form they use. Then when the record is added it would still be saved with the FA code to indicate that it was added via fast cataloging. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173401|0 |1 is obsolete| | --- Comment #7 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173417 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173417&action=edit Bug 32773: Add AllowAsFastAddFrameworks system preference This patch adds a new multiselect system preference that allows making selections from a list of biblioframeworks To test: 1. Apply patch 2. Update database perl installer/data/mysql/updatedatabase.pl 3. Search System preferences for 'AllowAsFastAddFrameworks' 4. See the dropdown list is populated from bibliographic frameworks 5. Go to Administration > MARC Bibliographic frameworks add a new framework 6. Confirm the new option is available in 'AllowAsFastAddFrameworks' -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Eileen Chandler <echandler@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |echandler@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #8 from David Nind <david@davidnind.com> --- I did a quick test, things look good so far! Some notes: 1. Bibliographic framework code: currently this is only 4 characters long. I think it may need to be longer to make the codes more meaningful, depending on how libraries want to name their fast add frameworks, for example FA-DVD, FA-BOOK, FA-JOURNAL, wouldn't work. But maybe not an issue, as when selecting frameworks in the record editor it displays and sorts by the framework description. 2. Selecting the fast add framework to use: I'm assuming the staff member would select from the current 'Settings' menu option when adding a record. Some ideas: - Maybe having another menu with 'Select fast add framework' could be an option. - Alternatively, when there is more than one fast add framework the staff member gets a dialog box to select the fast add framework before the add record form - Related to this, maybe have some way to select a default framework. 3. Permissions: assuming here that there is still some work to be done for this to work. 4. Database update: default for the new preference - it is set to NULL. Once permissions are done, for existing installations would they have to set this manually? Otherwise this would break how Koha knows what the fast add framework is - is it hard coded as FA?. Not sure how this works. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #9 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173878 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173878&action=edit Bug 32773: add column biblio_framework.is_fast_add -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #10 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173879 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173879&action=edit Bug 32773: add ability to set biblio_framework.is_fast_add -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #11 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173880 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173880&action=edit Bug 32773: schema update [DO NOT PUSH] -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #12 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173881 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173881&action=edit Bug 32773: update change framework dropdown -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #13 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173882 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173882&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast Add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast Add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast Add Framework' box 4. Notice a 'Fast Add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast Add record and items 8. Use the 'Settings' drop down to Change Fast Add framework 9. Confirm you see the frameworks that you set as Fast Add earlier 10. Confirm you can add the reocord and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add Sponsored-by: CLAMS -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #14 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173883 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173883&action=edit Bug 32773: perltidy -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173417|0 |1 is obsolete| | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #15 from Brendan Lawlor <blawlor@clamsnet.org> --- Thanks for testing David! Also big thanks to Nick for chatting about this, which helped me to realize adding a column is a better way to achieve this. (In reply to David Nind from comment #8)
I did a quick test, things look good so far!
Some notes:
1. Bibliographic framework code: currently this is only 4 characters long. I think it may need to be longer to make the codes more meaningful, depending on how libraries want to name their fast add frameworks
Good point. I didn't include this because I'm new to making database changes and wanted to keep it simple
2. Selecting the fast add framework to use: I'm assuming the staff member would select from the current 'Settings' menu option when adding a record. Some ideas: - Maybe having another menu with 'Select fast add framework' could be an option.
You read my mind and this is included. This is exactly how I thought it would be best for the UI.
- Alternatively, when there is more than one fast add framework the staff member gets a dialog box to select the fast add framework before the add record form I think this is a good idea to enhance this further, for now it defaults to the default Fast Add and users can switch framework in the settings drop down.
- Related to this, maybe have some way to select a default framework. I'm not sure, but maybe this would be best implemented as a system preference where you can select a single framework
3. Permissions: assuming here that there is still some work to be done for this to work. This makes a couple changes to conditionals that set or check permissions so it's a good thing to keep an eye on when testing.
4. Database update: default for the new [column] Only the 'FA' framework sets is_fast_add = 1 All other frameworks default to is_fast_add = 0
-- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|21.11 |Main Patch complexity|--- |Medium patch Assignee|koha-bugs@lists.koha-commun |blawlor@clamsnet.org |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #16 from David Nind <david@davidnind.com> --- Thanks Brendan! I've re-tested, and it's all looking pretty good - pragmatic, works as described. My only suggestion at this stage would be on the "New framework" form - change "Use as Fast Add Framework" to "Use as a Fast Add framework". David -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #17 from Brendan Lawlor <blawlor@clamsnet.org> --- Cool! Thanks David! I removed the needs sign off status because I noticed a bug in editing the records that obviously needs to be fixed. I will work on it some more next week and also make the change to the wording as you suggest. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173878|0 |1 is obsolete| | Attachment #173879|0 |1 is obsolete| | Attachment #173880|0 |1 is obsolete| | Attachment #173881|0 |1 is obsolete| | Attachment #173882|0 |1 is obsolete| | Attachment #173883|0 |1 is obsolete| | --- Comment #18 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173954 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173954&action=edit Bug 32773: Add column biblio_framework.is_fast_add -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #19 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173955 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173955&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #20 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173956 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173956&action=edit Bug 32773: schema update [DO NOT PUSH] -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #21 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173957 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173957&action=edit Bug 32773: Update change framework dropdown -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #22 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173958 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173958&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast Add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast Add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast Add Framework' box 4. Notice a 'Fast Add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast Add record and items 8. Use the 'Settings' drop down to Change Fast Add framework 9. Confirm you see the frameworks that you set as Fast Add earlier 10. Confirm you can add the reocord and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add Sponsored-by: CLAMS -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #23 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173959 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173959&action=edit Bug 32773: Add editing support for is_fast_add frameworks This patch uses the biblionumber to set is_fast_add on the catalog details page which is used to determine if the Edit button should be rendered in the cataloging toolbar. It updates the Biblio.pm subroutine can_be_edited to check if the biblio frameworkcode is 'FA' or if the biblio framework is_fast_add = 1. To test: 1. Set some biblio frameworks as Fast Add frameworks 2. Login as a user with fast_cataloging permissions only 3. Create and edit different types of Fast Add records 4. Add items and edit items 5. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast Add framework and the item is from your home library. 6. Log in as a superlibrarian 7. Confirm you can still create and edit records with the Default and other frameworks 8. Change a record's framework from a Fast Add to Default 9. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #24 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173960 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173960&action=edit Bug 32773: (follow-up) perltidy -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #25 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 173961 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173961&action=edit Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home This patch updates the new record drop down menus on cataloging-home to separate Fast Add frameworks under a new header at the bottom. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #26 from Eileen Chandler <echandler@clamsnet.org> --- We really need a choice of multiple fast add frameworks - one does not do the job. Our library catalogers would like a Fast Add for Library of Things, one for Non print, e.g. DVDS, and for various formats where we can prefill the Fast add based on material type. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173954|0 |1 is obsolete| | --- Comment #27 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 174028 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174028&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173955|0 |1 is obsolete| | --- Comment #28 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 174029 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174029&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173956|0 |1 is obsolete| | --- Comment #29 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 174030 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174030&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173957|0 |1 is obsolete| | --- Comment #30 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 174031 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174031&action=edit Bug 32773: Update change framework dropdown Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173958|0 |1 is obsolete| | --- Comment #31 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 174032 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174032&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast Add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast Add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast Add Framework' box 4. Notice a 'Fast Add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast Add record and items 8. Use the 'Settings' drop down to Change Fast Add framework 9. Confirm you see the frameworks that you set as Fast Add earlier 10. Confirm you can add the reocord and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173959|0 |1 is obsolete| | --- Comment #32 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 174033 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174033&action=edit Bug 32773: Add editing support for is_fast_add frameworks This patch uses the biblionumber to set is_fast_add on the catalog details page which is used to determine if the Edit button should be rendered in the cataloging toolbar. It updates the Biblio.pm subroutine can_be_edited to check if the biblio frameworkcode is 'FA' or if the biblio framework is_fast_add = 1. To test: 1. Set some biblio frameworks as Fast Add frameworks 2. Login as a user with fast_cataloging permissions only 3. Create and edit different types of Fast Add records 4. Add items and edit items 5. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast Add framework and the item is from your home library. 6. Log in as a superlibrarian 7. Confirm you can still create and edit records with the Default and other frameworks 8. Change a record's framework from a Fast Add to Default 9. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173960|0 |1 is obsolete| | --- Comment #33 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 174034 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174034&action=edit Bug 32773: (follow-up) perltidy Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173961|0 |1 is obsolete| | --- Comment #34 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 174035 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174035&action=edit Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home This patch updates the new record drop down menus on cataloging-home to separate Fast Add frameworks under a new header at the bottom. Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com --- Comment #35 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- This worked as described and I'm signing it off. That said, should we not set biblio_framework.is_fast_add=1 for the FA framework as part of this patch? It's confusing that the standard FA framework doesn't end up with a little "Fast Add" label on /koha/admin/biblio_framework.pl or show with the custom fast add frameworks on the record edit screen. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #36 from Brendan Lawlor <blawlor@clamsnet.org> --- Thanks Andrew! The atomic update sets is_fast_add = 1 where frameworkcode = 'FA', but I wasn't sure if/how to set a default value for that in kohastructure.sql. It's my first time updating the database so I'm not 100% sure about that part. It can be handy setting it manually using ktd --dbshell UPDATE biblio_framework SET is_fast_add = 1 where frameworkcode = 'FA'; In ktd --shell if you run updatedatabase I think it sets it correctly. I agree that the standard FA framework deserves a little badge and should display under change Fast Add frameworks menu too. This is how it works when the data is correctly is_fast_add = 1 for 'FA' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #37 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- (In reply to Brendan Lawlor from comment #36)
In ktd --shell if you run updatedatabase I think it sets it correctly.
I just confirmed that this is the case. After applying the patch and running updatedatabase, the FA framework is properly marked as a fast add. I must have done something odd when testing earlier. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com Status|Signed Off |Failed QA --- Comment #38 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- 1. Can you add a check to your atomic update to make sure the column doesn't already exist? Something like: if ( !column_exists( 'biblio_framework', 'is_fast_add' ) ... 2. This is causing tests to fail. I think there should also be a new test to cover the change in Biblio.pm -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #174028|0 |1 is obsolete| | Attachment #174029|0 |1 is obsolete| | Attachment #174030|0 |1 is obsolete| | Attachment #174031|0 |1 is obsolete| | Attachment #174032|0 |1 is obsolete| | Attachment #174033|0 |1 is obsolete| | Attachment #174034|0 |1 is obsolete| | Attachment #174035|0 |1 is obsolete| | --- Comment #39 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176927 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176927&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #40 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176928 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176928&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #41 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176929 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176929&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #42 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176930 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176930&action=edit Bug 32773: Update change framework dropdown Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #43 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176931 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176931&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast Add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast Add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast Add Framework' box 4. Notice a 'Fast Add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast Add record and items 8. Use the 'Settings' drop down to Change Fast Add framework 9. Confirm you see the frameworks that you set as Fast Add earlier 10. Confirm you can add the reocord and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #44 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176932 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176932&action=edit Bug 32773: Add editing support for is_fast_add frameworks This patch uses the biblionumber to set is_fast_add on the catalog details page which is used to determine if the Edit button should be rendered in the cataloging toolbar. It updates the Biblio.pm subroutine can_be_edited to check if the biblio frameworkcode is 'FA' or if the biblio framework is_fast_add = 1. To test: 1. Set some biblio frameworks as Fast Add frameworks 2. Login as a user with fast_cataloging permissions only 3. Create and edit different types of Fast Add records 4. Add items and edit items 5. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast Add framework and the item is from your home library. 6. Log in as a superlibrarian 7. Confirm you can still create and edit records with the Default and other frameworks 8. Change a record's framework from a Fast Add to Default 9. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #45 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176933 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176933&action=edit Bug 32773: (follow-up) perltidy Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #46 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176934 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176934&action=edit Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home This patch updates the new record drop down menus on cataloging-home to separate Fast Add frameworks under a new header at the bottom. Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #47 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 176935 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176935&action=edit Bug 32773: (follow-up) Unit tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #48 from Brendan Lawlor <blawlor@clamsnet.org> --- Thanks, Lucas. I added that check for if the column exists to the atomic update and some tests to Biblio.t subtest can_be_edited(). I'm just learning how to write the tests, so it may need some more tests. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com Attachment #176933|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #176927|0 |1 is obsolete| | Attachment #176928|0 |1 is obsolete| | Attachment #176929|0 |1 is obsolete| | Attachment #176930|0 |1 is obsolete| | Attachment #176931|0 |1 is obsolete| | Attachment #176932|0 |1 is obsolete| | Attachment #176934|0 |1 is obsolete| | Attachment #176935|0 |1 is obsolete| | --- Comment #49 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 177860 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177860&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #50 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 177861 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177861&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #51 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 177862 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177862&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #52 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 177863 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177863&action=edit Bug 32773: Update change framework dropdown Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #53 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 177864 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177864&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast Add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast Add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast Add Framework' box 4. Notice a 'Fast Add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast Add record and items 8. Use the 'Settings' drop down to Change Fast Add framework 9. Confirm you see the frameworks that you set as Fast Add earlier 10. Confirm you can add the reocord and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #54 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 177865 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177865&action=edit Bug 32773: Add editing support for is_fast_add frameworks This patch uses the biblionumber to set is_fast_add on the catalog details page which is used to determine if the Edit button should be rendered in the cataloging toolbar. It updates the Biblio.pm subroutine can_be_edited to check if the biblio frameworkcode is 'FA' or if the biblio framework is_fast_add = 1. To test: 1. Set some biblio frameworks as Fast Add frameworks 2. Login as a user with fast_cataloging permissions only 3. Create and edit different types of Fast Add records 4. Add items and edit items 5. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast Add framework and the item is from your home library. 6. Log in as a superlibrarian 7. Confirm you can still create and edit records with the Default and other frameworks 8. Change a record's framework from a Fast Add to Default 9. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #55 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 177866 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177866&action=edit Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home This patch updates the new record drop down menus on cataloging-home to separate Fast Add frameworks under a new header at the bottom. Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #56 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 177867 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177867&action=edit Bug 32773: (follow-up) Unit tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #57 from Jonathan Druart <jonathan.druart@gmail.com> --- Patches rebased using the auto-rebase script. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |m.de.rooy@rijksmuseum.nl |y.org | Status|Signed Off |Failed QA --- Comment #58 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- QA comment: Looks much. But should not be that hard. Good job. FAIL installer/data/mysql/atomicupdate/bug_32773.pl FAIL file permissions File must have the exec flag prove t/db_dependent/Koha/Biblio.t t/db_dependent/Koha/Biblio.t .. ok All tests successful. Files=1, Tests=40, 53 wallclock secs ( 0.07 usr 0.01 sys + 42.71 cusr 8.57 csys = 51.36 CPU) Result: PASS No blocker but small inconsistency: + `is_fast_add` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'the ability to be used as a Fast Add framework', + ALTER TABLE biblio_framework + ADD COLUMN is_fast_add TINYINT(1) NOT NULL DEFAULT 0 + AFTER frameworktext; You did not add the comment in the dbrev. No blocker too but a potential case problem. Look at git grep 'Fast Add' and git grep 'Fast add'. I feel that the latter is the correct one ? + <label for="is_fast_add">Use as a Fast Add framework: </label> + <span class="badge rounded-pill bg-secondary float-end">Fast Add</span> + [% !framework ? 'Default' : framework.frameworktext | html %] Not sure about this? Add parentheses to avoid confusion. + $frameworkcode eq 'FA' || $is_fast_add +if ( $frameworkcode eq 'FA' || $is_fast_add ) { + more occurrences Shouldnt this be just testing is_fast_add now ? + [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' || is_fast_add and CAN_user_editcatalogue_fast_cataloging ) %] Think that this needs more parentheses to get the condition evaluation right. Here too in includes/cat-toolbar.inc ( frameworkcode == 'FA' || is_fast_add and CAN_user_editcatalogue_fast_cataloging ) %] More occurrences +my $frameworkcode = &GetFrameworkCode($biblionumber); +my $is_fast_add = + defined $frameworkcode && $frameworkcode ne '' + ? Koha::BiblioFrameworks->find($frameworkcode)->is_fast_add + : 0; Why call GetFrameworkCode if you have a $biblio object? Same here +my $fw = GetFrameworkCode($biblionumber); +my $is_fast_add = Koha::BiblioFrameworks->find($fw)->is_fast_add; +my $all_items = $biblio->items->search_ordered; -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #59 from Brendan Lawlor <blawlor@clamsnet.org> --- Thanks for the code review, Marcel! I'm working on addressing these concerns and will post updated patches soon. For Why call GetFrameworkCode if you have a $biblio object? It was already written like this in some other places like moredetail.pl so I just followed this pattern: my $fw = GetFrameworkCode($biblionumber); maybe in that case it is because $biblio could potentially be undefined? If you do have a biblio object, would it be better written as: my $frameworkcode = $biblio->frameworkcode; -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #60 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Brendan Lawlor from comment #59)
Thanks for the code review, Marcel!
I'm working on addressing these concerns and will post updated patches soon.
For Why call GetFrameworkCode if you have a $biblio object?
It was already written like this in some other places like moredetail.pl so I just followed this pattern: my $fw = GetFrameworkCode($biblionumber);
maybe in that case it is because $biblio could potentially be undefined?
If you do have a biblio object, would it be better written as: my $frameworkcode = $biblio->frameworkcode;
Sure. It is not a big deal. Just noting. The sub does even cache it. But when it is not yet cached, why go the database if you just have it at hand. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 carthur@slolibrary.org <carthur@slolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carthur@slolibrary.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177860|0 |1 is obsolete| | Attachment #177861|0 |1 is obsolete| | Attachment #177862|0 |1 is obsolete| | Attachment #177863|0 |1 is obsolete| | Attachment #177864|0 |1 is obsolete| | Attachment #177865|0 |1 is obsolete| | Attachment #177866|0 |1 is obsolete| | Attachment #177867|0 |1 is obsolete| | --- Comment #61 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186210 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186210&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186210|0 |1 is obsolete| | --- Comment #62 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186211 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186211&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #63 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186212 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186212&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #64 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186213 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186213&action=edit Bug 32773: Update change framework dropdown Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #65 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186214 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186214&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast Add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast Add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast Add Framework' box 4. Notice a 'Fast Add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast Add record and items 8. Use the 'Settings' drop down to Change Fast Add framework 9. Confirm you see the frameworks that you set as Fast Add earlier 10. Confirm you can add the reocord and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #66 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186215 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186215&action=edit Bug 32773: Add editing support for is_fast_add frameworks This patch uses the biblionumber to set is_fast_add on the catalog details page which is used to determine if the Edit button should be rendered in the cataloging toolbar. It updates the Biblio.pm subroutine can_be_edited to check if the biblio frameworkcode is 'FA' or if the biblio framework is_fast_add = 1. To test: 1. Set some biblio frameworks as Fast Add frameworks 2. Login as a user with fast_cataloging permissions only 3. Create and edit different types of Fast Add records 4. Add items and edit items 5. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast Add framework and the item is from your home library. 6. Log in as a superlibrarian 7. Confirm you can still create and edit records with the Default and other frameworks 8. Change a record's framework from a Fast Add to Default 9. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #67 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186216 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186216&action=edit Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home This patch updates the new record drop down menus on cataloging-home to separate Fast Add frameworks under a new header at the bottom. Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #68 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186217 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186217&action=edit Bug 32773: (follow-up) Unit tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #69 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186218 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186218&action=edit Bug 32773: (QA follow-up) Corrections Add exec permission to DB update and add comment Use 'is_fast_add' in conditionals, no need to check for 'FA' framework Use already fetched biblio objects to get frameworkcode Make capitlaization consistent -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186211|0 |1 is obsolete| | Attachment #186212|0 |1 is obsolete| | Attachment #186213|0 |1 is obsolete| | Attachment #186214|0 |1 is obsolete| | Attachment #186215|0 |1 is obsolete| | Attachment #186216|0 |1 is obsolete| | Attachment #186217|0 |1 is obsolete| | Attachment #186218|0 |1 is obsolete| | --- Comment #70 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186219 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186219&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #71 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186220 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186220&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #72 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186221 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186221&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #73 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186222 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186222&action=edit Bug 32773: Update change framework dropdown Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #74 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186223 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186223&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast Add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast Add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast Add Framework' box 4. Notice a 'Fast Add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast Add record and items 8. Use the 'Settings' drop down to Change Fast Add framework 9. Confirm you see the frameworks that you set as Fast Add earlier 10. Confirm you can add the reocord and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #75 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186224 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186224&action=edit Bug 32773: Add editing support for is_fast_add frameworks This patch uses the biblionumber to set is_fast_add on the catalog details page which is used to determine if the Edit button should be rendered in the cataloging toolbar. It updates the Biblio.pm subroutine can_be_edited to check if the biblio frameworkcode is 'FA' or if the biblio framework is_fast_add = 1. To test: 1. Set some biblio frameworks as Fast Add frameworks 2. Login as a user with fast_cataloging permissions only 3. Create and edit different types of Fast Add records 4. Add items and edit items 5. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast Add framework and the item is from your home library. 6. Log in as a superlibrarian 7. Confirm you can still create and edit records with the Default and other frameworks 8. Change a record's framework from a Fast Add to Default 9. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #76 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186225 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186225&action=edit Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home This patch updates the new record drop down menus on cataloging-home to separate Fast Add frameworks under a new header at the bottom. Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #77 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186226 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186226&action=edit Bug 32773: (follow-up) Unit tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #78 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 186227 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186227&action=edit Bug 32773: (QA follow-up) Corrections Add exec permission to DB update and add comment Use 'is_fast_add' in conditionals, no need to check for 'FA' framework Use already fetched biblio objects to get frameworkcode Make capitlaization consistent -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #79 from Brendan Lawlor <blawlor@clamsnet.org> --- Thanks for the unit tests and corrections, Nick! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186219|0 |1 is obsolete| | --- Comment #80 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187051 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187051&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186220|0 |1 is obsolete| | --- Comment #81 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187052 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187052&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186221|0 |1 is obsolete| | --- Comment #82 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187053 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187053&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186222|0 |1 is obsolete| | --- Comment #83 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187054 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187054&action=edit Bug 32773: Update change framework dropdown Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186223|0 |1 is obsolete| | --- Comment #84 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187055 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187055&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast Add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast Add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast Add Framework' box 4. Notice a 'Fast Add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast Add record and items 8. Use the 'Settings' drop down to Change Fast Add framework 9. Confirm you see the frameworks that you set as Fast Add earlier 10. Confirm you can add the reocord and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186224|0 |1 is obsolete| | --- Comment #85 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187056 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187056&action=edit Bug 32773: Add editing support for is_fast_add frameworks This patch uses the biblionumber to set is_fast_add on the catalog details page which is used to determine if the Edit button should be rendered in the cataloging toolbar. It updates the Biblio.pm subroutine can_be_edited to check if the biblio frameworkcode is 'FA' or if the biblio framework is_fast_add = 1. To test: 1. Set some biblio frameworks as Fast Add frameworks 2. Login as a user with fast_cataloging permissions only 3. Create and edit different types of Fast Add records 4. Add items and edit items 5. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast Add framework and the item is from your home library. 6. Log in as a superlibrarian 7. Confirm you can still create and edit records with the Default and other frameworks 8. Change a record's framework from a Fast Add to Default 9. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186225|0 |1 is obsolete| | --- Comment #86 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187057 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187057&action=edit Bug 32773: Separate Fast Add frameworks in drop down menu on cataloging-home This patch updates the new record drop down menus on cataloging-home to separate Fast Add frameworks under a new header at the bottom. Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186226|0 |1 is obsolete| | --- Comment #87 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187058 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187058&action=edit Bug 32773: (follow-up) Unit tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186227|0 |1 is obsolete| | --- Comment #88 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 187059 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187059&action=edit Bug 32773: (QA follow-up) Corrections Add exec permission to DB update and add comment Use 'is_fast_add' in conditionals, no need to check for 'FA' framework Use already fetched biblio objects to get frameworkcode Make capitlaization consistent -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #89 from Brendan Lawlor <blawlor@clamsnet.org> --- I just tested this again and I was getting a fail for the atomic update file needing the exec flag, so I added that and am re attaching the patches. Thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Michael Grgurev <mike.grgurev@mainlib.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.grgurev@mainlib.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisette@bywatersolutions.co | |m Status|Needs Signoff |Failed QA --- Comment #90 from Lisette Scheer <lisette@bywatersolutions.com> --- It no longer works for me to do a fast add frameworks other than the default with only fast add permission and database access. When I try to change the framework to another fast add framework I'm told I don't have permission. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187051|0 |1 is obsolete| | Attachment #187052|0 |1 is obsolete| | Attachment #187053|0 |1 is obsolete| | Attachment #187054|0 |1 is obsolete| | Attachment #187055|0 |1 is obsolete| | Attachment #187056|0 |1 is obsolete| | Attachment #187057|0 |1 is obsolete| | Attachment #187058|0 |1 is obsolete| | Attachment #187059|0 |1 is obsolete| | --- Comment #91 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192066 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192066&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #92 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192067 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192067&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #93 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192068 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192068&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #94 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192069 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192069&action=edit Bug 32773: Update change framework and new record dropdowns Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #95 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192070 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192070&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. The Biblio.pm subroutine can_be_edited now checks if the framework is_fast_add. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast add Framework' box 4. Notice a 'Fast add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast add record and items 8. Use the 'Settings' drop down to Change Fast add framework 9. Confirm you see the frameworks that you set as Fast add earlier 10. Confirm you can add the record and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add 12. Set some biblio frameworks as Fast Add frameworks 13. Login as a user with fast_cataloging permissions only 14. Create and edit different types of Fast Add records 15. Add items and edit items 16. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast add framework and the item is from your home library. 17. Log in as a superlibrarian 18. Confirm you can still create and edit records with the Default and other frameworks 19. Change a record's framework from a Fast add to Default 20. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #96 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192071 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192071&action=edit Bug 32773: (follow-up) Unit tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #97 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192072 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192072&action=edit Bug 32773: (follow-up) Add Fast add badge to bib detail -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #98 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192073 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192073&action=edit Bug 32773: (follow-up) Make Fast add capitalization consistent -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192073|0 |1 is obsolete| | --- Comment #99 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 192120 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192120&action=edit Bug 32773: (follow-up) Set is_fast_add for sample FA frameworks -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192066|0 |1 is obsolete| | --- Comment #100 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 194535 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194535&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192067|0 |1 is obsolete| | --- Comment #101 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 194536 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194536&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192068|0 |1 is obsolete| | --- Comment #102 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 194537 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194537&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192069|0 |1 is obsolete| | --- Comment #103 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 194538 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194538&action=edit Bug 32773: Update change framework and new record dropdowns Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192070|0 |1 is obsolete| | --- Comment #104 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 194539 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194539&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. The Biblio.pm subroutine can_be_edited now checks if the framework is_fast_add. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast add Framework' box 4. Notice a 'Fast add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast add record and items 8. Use the 'Settings' drop down to Change Fast add framework 9. Confirm you see the frameworks that you set as Fast add earlier 10. Confirm you can add the record and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add 12. Set some biblio frameworks as Fast Add frameworks 13. Login as a user with fast_cataloging permissions only 14. Create and edit different types of Fast Add records 15. Add items and edit items 16. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast add framework and the item is from your home library. 17. Log in as a superlibrarian 18. Confirm you can still create and edit records with the Default and other frameworks 19. Change a record's framework from a Fast add to Default 20. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192071|0 |1 is obsolete| | --- Comment #105 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 194540 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194540&action=edit Bug 32773: (follow-up) Unit tests Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192072|0 |1 is obsolete| | --- Comment #106 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 194541 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194541&action=edit Bug 32773: (follow-up) Add Fast add badge to bib detail Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192120|0 |1 is obsolete| | --- Comment #107 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 194542 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194542&action=edit Bug 32773: (follow-up) Set is_fast_add for sample FA frameworks Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #108 from Miranda Nero <mnero@oslri.net> --- I signed off but if anyone else needs to, the test plan step 5 should be updated to include edit_items permission as well. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Miranda Nero <mnero@oslri.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #109 from Brendan Lawlor <blawlor@clamsnet.org> --- Thanks for testing Miranda! (In reply to Miranda Nero from comment #108)
I signed off but if anyone else needs to, the test plan step 5 should be updated to include edit_items permission as well.
This part is can be a little confusing to test, but the user with only fast_cataloging permissions is able to edit items that are on a fast add bib, but only for items owned by their home library. This is consistent with the way that permission works before the patch is applied. They shouldn't need the extra edit_items permission to edit those. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #110 from Miranda Nero <mnero@oslri.net> --- (In reply to Brendan Lawlor from comment #109)
Thanks for testing Miranda!
(In reply to Miranda Nero from comment #108)
I signed off but if anyone else needs to, the test plan step 5 should be updated to include edit_items permission as well.
This part is can be a little confusing to test, but the user with only fast_cataloging permissions is able to edit items that are on a fast add bib, but only for items owned by their home library. This is consistent with the way that permission works before the patch is applied. They shouldn't need the extra edit_items permission to edit those.
When I created a record with the fast add framework and did not have the edit_items permission, I was not able to create a new item. Turning on the edit_items permission allowed me to do so. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #111 from Miranda Nero <mnero@oslri.net> --- I just checked and see the difference. I'm used to seeing "New" in order to add an item to a record. I am able to add a one without edit_items, but I have to click Edit > Manage items in order to do so. The "New" button appears with the edit_items permission. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #112 from Brendan Lawlor <blawlor@clamsnet.org> --- (In reply to Miranda Nero from comment #111)
I just checked and see the difference. I'm used to seeing "New" in order to add an item to a record. I am able to add a one without edit_items, but I have to click Edit > Manage items in order to do so. The "New" button appears with the edit_items permission.
Yes exactly! Currently without edit_items permission you have to go to Manage items to get to edit them. There are a couple of small improvements in this patch that make it easier to get to the edit item page, for example the actions button appears in the table and the edit item link appeares below the barcodes on the items tab - only for items your library owns that are on a fast add bib of course. Thanks again for following up and your feedback! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement adds the release notes| |ability to for libraries to | |use multiple bibliographic | |frameworks as Fast add. | | | |Administrators with the | |manage_marc_frameworks | |permission can now enable | |MARC bibliographic | |frameworks to be used as | |Fast add frameworks. | | | |Library staff with the | |fast_cataloging permission | |will be able create and | |edit Fast add enabled | |bibliographic records. They | |will be able to create | |items for Fast add enabled | |records and edit the | |attached items if allowed | |by library or library | |group. | | | |A Fast add badge will be | |displayed in the details of | |Fast add enabled | |bibliographic records. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Comma delimited| |CLAMS list of Sponsors| | Sponsorship status|--- |Sponsored --- Comment #113 from Brendan Lawlor <blawlor@clamsnet.org> --- rebased for main, mostly for bug 41566 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194535|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194536|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194537|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194538|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194539|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194540|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194541|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194542|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #114 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197430 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197430&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #115 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197431 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197431&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #116 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197432 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197432&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #117 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197433 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197433&action=edit Bug 32773: Update change framework and new record dropdowns Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #118 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197434 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197434&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. The Biblio.pm subroutine can_be_edited now checks if the framework is_fast_add. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast add Framework' box 4. Notice a 'Fast add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast add record and items 8. Use the 'Settings' drop down to Change Fast add framework 9. Confirm you see the frameworks that you set as Fast add earlier 10. Confirm you can add the record and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add 12. Set some biblio frameworks as Fast Add frameworks 13. Login as a user with fast_cataloging permissions only 14. Create and edit different types of Fast Add records 15. Add items and edit items 16. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast add framework and the item is from your home library. 17. Log in as a superlibrarian 18. Confirm you can still create and edit records with the Default and other frameworks 19. Change a record's framework from a Fast add to Default 20. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #119 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197435 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197435&action=edit Bug 32773: (follow-up) Unit tests Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #120 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197436 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197436&action=edit Bug 32773: (follow-up) Add Fast add badge to bib detail Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #121 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197437 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197437&action=edit Bug 32773: (follow-up) Set is_fast_add for sample FA frameworks Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #122 from Brendan Lawlor <blawlor@clamsnet.org> --- rebased again -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197430|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197431|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197432|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197433|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197434|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197435|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197436|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197437|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #123 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197735&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #124 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197736 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197736&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #125 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197737 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197737&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #126 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197738 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197738&action=edit Bug 32773: Update change framework and new record dropdowns Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #127 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197739 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197739&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. The Biblio.pm subroutine can_be_edited now checks if the framework is_fast_add. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast add Framework' box 4. Notice a 'Fast add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast add record and items 8. Use the 'Settings' drop down to Change Fast add framework 9. Confirm you see the frameworks that you set as Fast add earlier 10. Confirm you can add the record and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add 12. Set some biblio frameworks as Fast Add frameworks 13. Login as a user with fast_cataloging permissions only 14. Create and edit different types of Fast Add records 15. Add items and edit items 16. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast add framework and the item is from your home library. 17. Log in as a superlibrarian 18. Confirm you can still create and edit records with the Default and other frameworks 19. Change a record's framework from a Fast add to Default 20. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #128 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197740 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197740&action=edit Bug 32773: (follow-up) Unit tests Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #129 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197741 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197741&action=edit Bug 32773: (follow-up) Add Fast add badge to bib detail Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #130 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197742 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197742&action=edit Bug 32773: (follow-up) Set is_fast_add for sample FA frameworks Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #131 from Brendan Lawlor <blawlor@clamsnet.org> --- rebased for bug 41653, hopefully correctly this time... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197735|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197736|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197737|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197738|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197739|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197740|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197741|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197742|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #132 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197743 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197743&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #133 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197744 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197744&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #134 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197745 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197745&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #135 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197746 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197746&action=edit Bug 32773: Update change framework and new record dropdowns Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #136 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197747 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197747&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. The Biblio.pm subroutine can_be_edited now checks if the framework is_fast_add. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast add Framework' box 4. Notice a 'Fast add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast add record and items 8. Use the 'Settings' drop down to Change Fast add framework 9. Confirm you see the frameworks that you set as Fast add earlier 10. Confirm you can add the record and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add 12. Set some biblio frameworks as Fast Add frameworks 13. Login as a user with fast_cataloging permissions only 14. Create and edit different types of Fast Add records 15. Add items and edit items 16. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast add framework and the item is from your home library. 17. Log in as a superlibrarian 18. Confirm you can still create and edit records with the Default and other frameworks 19. Change a record's framework from a Fast add to Default 20. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #137 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197748 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197748&action=edit Bug 32773: (follow-up) Unit tests Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #138 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197749 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197749&action=edit Bug 32773: (follow-up) Add Fast add badge to bib detail Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #139 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 197750 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197750&action=edit Bug 32773: (follow-up) Set is_fast_add for sample FA frameworks Signed-off-by: Miranda Nero <mnero@oslri.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|m.de.rooy@rijksmuseum.nl |andrew@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197743|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197744|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197745|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197746|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197747|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197748|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197749|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197750|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #140 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198046 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198046&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #141 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198047 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198047&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #142 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198048 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198048&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #143 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198049 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198049&action=edit Bug 32773: Update change framework and new record dropdowns Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #144 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198050 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198050&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. The Biblio.pm subroutine can_be_edited now checks if the framework is_fast_add. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast add Framework' box 4. Notice a 'Fast add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast add record and items 8. Use the 'Settings' drop down to Change Fast add framework 9. Confirm you see the frameworks that you set as Fast add earlier 10. Confirm you can add the record and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add 12. Set some biblio frameworks as Fast Add frameworks 13. Login as a user with fast_cataloging permissions only 14. Create and edit different types of Fast Add records 15. Add items and edit items 16. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast add framework and the item is from your home library. 17. Log in as a superlibrarian 18. Confirm you can still create and edit records with the Default and other frameworks 19. Change a record's framework from a Fast add to Default 20. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #145 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198051 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198051&action=edit Bug 32773: (follow-up) Unit tests Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #146 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198052 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198052&action=edit Bug 32773: (follow-up) Add Fast add badge to bib detail Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #147 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 198053 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198053&action=edit Bug 32773: (follow-up) Set is_fast_add for sample FA frameworks Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|This enhancement adds the |This enhancement adds the release notes|ability to for libraries to |ability for libraries to |use multiple bibliographic |use multiple bibliographic |frameworks as Fast add. |frameworks for Fast add. | | |Administrators with the |Administrators with the |manage_marc_frameworks |manage_marc_frameworks |permission can now enable |permission can now enable |MARC bibliographic |MARC bibliographic |frameworks to be used as |frameworks to be used as |Fast add frameworks. |Fast add frameworks. | | |Library staff with the |Library staff with the |fast_cataloging permission |fast_cataloging permission |will be able create and |will be able to create and |edit Fast add enabled |edit Fast add enabled |bibliographic records. They |bibliographic records. They |will be able to create |will be able to create |items for Fast add enabled |items for Fast add enabled |records and edit the |records and edit the |attached items if allowed |attached items if allowed |by library or library |by library or library |group. |group. | | |A Fast add badge will be |A Fast add badge will be |displayed in the details of |displayed in the details of |Fast add enabled |Fast add enabled |bibliographic records. |bibliographic records. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Passed QA --- Comment #148 from Brendan Lawlor <blawlor@clamsnet.org> --- rebased for bug 37762 and 34353 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198046|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198047|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198048|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198049|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198050|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198051|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198052|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198053|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #149 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 198893 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198893&action=edit Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #150 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 198894 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198894&action=edit Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #151 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 198895 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198895&action=edit Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #152 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 198896 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198896&action=edit Bug 32773: Update change framework and new record dropdowns Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #153 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 198897 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198897&action=edit Bug 32773: Add fast cataloging support for multiple frameworks This set of patches adds a new is_fast_add column to biblio_framework. The Biblio.pm subroutine can_be_edited now checks if the framework is_fast_add. In Admin > MARC bibliographic frameworks admin users can add or edit frameworks to be used as Fast add frameworks. Users with only fast_cataloging permission will be able to add records using those frameworks in the Fast Cataloging module. Test plan: Apply patches, restart_all and updatedatabase 1. Go to Admin > MARC Bibliographic frameworks 2. Edit/create a new framework and check the 'Use as Fast add Framework' box 3. Also edit a framework and uncheck the 'Use as Fast add Framework' box 4. Notice a 'Fast add' badge is displayed in the table 5. Create a staff user with only fast_cataloging permissions 6. Log in as that user and go to Cataloging > Fast Cataloging 7. Confirm you can add a Fast add record and items 8. Use the 'Settings' drop down to Change Fast add framework 9. Confirm you see the frameworks that you set as Fast add earlier 10. Confirm you can add the record and items 11. Log in as a superlibrarian and confirm that you can add records and items using standard frameworks and frameworks set as fast add 12. Set some biblio frameworks as Fast Add frameworks 13. Login as a user with fast_cataloging permissions only 14. Create and edit different types of Fast Add records 15. Add items and edit items 16. Confirm that you can only edit bibs and items for bibs where the framework is set as a Fast add framework and the item is from your home library. 17. Log in as a superlibrarian 18. Confirm you can still create and edit records with the Default and other frameworks 19. Change a record's framework from a Fast add to Default 20. Login as the user with only fast_cataloging confirm that you can no longer edit that record or its items Sponsored-by: CLAMS Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #154 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 198898 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198898&action=edit Bug 32773: (follow-up) Unit tests Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #155 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 198899 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198899&action=edit Bug 32773: (follow-up) Add Fast add badge to bib detail Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #156 from Brendan Lawlor <blawlor@clamsnet.org> --- Created attachment 198900 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198900&action=edit Bug 32773: (follow-up) Set is_fast_add for sample FA frameworks Signed-off-by: Miranda Nero <mnero@oslri.net> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.05.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #157 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42606 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42606 [Bug 42606] Error when importing a record using Z39.50 from the cataloging home page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |additional_work_needed --- Comment #158 from Jonathan Druart <jonathan.druart@gmail.com> --- Regression: we now get a 500 instead of "The record you requested does not exist" when you hit catalogue/detail.pl with a biblionumber that does not exist. `$biblio->frameworkcode` must be moved after `unless ($biblio) {` -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 --- Comment #159 from Brendan Lawlor <blawlor@clamsnet.org> --- (In reply to Jonathan Druart from comment #158)
Regression: we now get a 500 instead of "The record you requested does not exist" when you hit catalogue/detail.pl with a biblionumber that does not exist.
`$biblio->frameworkcode` must be moved after `unless ($biblio) {`
Thanks Jonathan! I filed bug 42637. Patch incoming -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42637 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42637 [Bug 42637] Check if biblio exists before checking if it is a fast add framework -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting --- Comment #160 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- This will not be backported to 25.11.x due to it being deemed an enhancement or a dependancy not being met -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32773 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|additional_work_needed | -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org