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.
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.
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.
We would like this. We use it for ILL workflow, so having more than one framework would really help in this.
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.
Created attachment 173401 [details] [review] 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'
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.
Created attachment 173417 [details] [review] 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'
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.
Created attachment 173878 [details] [review] Bug 32773: add column biblio_framework.is_fast_add
Created attachment 173879 [details] [review] Bug 32773: add ability to set biblio_framework.is_fast_add
Created attachment 173880 [details] [review] Bug 32773: schema update [DO NOT PUSH]
Created attachment 173881 [details] [review] Bug 32773: update change framework dropdown
Created attachment 173882 [details] [review] 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
Created attachment 173883 [details] [review] Bug 32773: perltidy
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
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
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.
Created attachment 173954 [details] [review] Bug 32773: Add column biblio_framework.is_fast_add
Created attachment 173955 [details] [review] Bug 32773: Add ability to set biblio_framework.is_fast_add
Created attachment 173956 [details] [review] Bug 32773: schema update [DO NOT PUSH]
Created attachment 173957 [details] [review] Bug 32773: Update change framework dropdown
Created attachment 173958 [details] [review] 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
Created attachment 173959 [details] [review] 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
Created attachment 173960 [details] [review] Bug 32773: (follow-up) perltidy
Created attachment 173961 [details] [review] 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.
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.
Created attachment 174028 [details] [review] Bug 32773: Add column biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Created attachment 174029 [details] [review] Bug 32773: Add ability to set biblio_framework.is_fast_add Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Created attachment 174030 [details] [review] Bug 32773: schema update [DO NOT PUSH] Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Created attachment 174031 [details] [review] Bug 32773: Update change framework dropdown Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Created attachment 174032 [details] [review] 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>
Created attachment 174033 [details] [review] 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>
Created attachment 174034 [details] [review] Bug 32773: (follow-up) perltidy Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Created attachment 174035 [details] [review] 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>
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.
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'
(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.