When placing an item-level hold in the OPAC, the column to select your item(s) using a radio button or checkbox is called "Copy number". This doesn't accurately describe what it is. The same column when placing a hold from the staff intranet is called "Hold", which makes more sense since you're selecting the item(s) you want to hold.
It's still a bit confusing, but less confusing, if you use copy numbers, since then the column looks like: ( ) 1 ( ) 1 ( ) 2 ( ) 2 ( ) 4 which is probably nice if you are doing a item-level hold because of copy number. I never have done that in the OPAC, only for a particular enumchron or a particular home or holding branch, but maybe some people do.
I propose this change: - Split the radio button and copy number into two different columns - Add column configuration to the table so that libraries that don't use copy numbers can hide the column
Created attachment 168465 [details] [review] Bug 37219: In OPAC item holds, separate copy number from radio button and add table configuration This patch changes the way items are displayed during the process of placing a single or multiple item-level holds in the OPAC. The item-selection radio button is now in a separate column from copy number, and the columns can be configured. Note: This patch includes indentation changes, so ignore whitespace when viewing the diff. To test, apply the patch and restart services. - If necessary, go to Administration -> Circulation and fine rules and enable item-level holds in one of the rules. - Log in to the OPAC and start the process of placing a hold on a title which falls under your configured circulation rule. - On the place hold page, click "Show more options" and "A specific item" to show the table of items. - The radio buttons and copy numbers should appear in separate columns. - Go to Administration -> Table settings -> OPAC -> opac_holds and change the table's configuration to hide one or more columns. - Return to the OPAC holds process and confirm that the table reflects your configuration changes. - Perform the same test with multiple holds (selecting multiple items in catalog search results). Sponsored-by: Athens County Public Libraries
Created attachment 168564 [details] [review] Bug 37219: In OPAC item holds, separate copy number from radio button and add table configuration This patch changes the way items are displayed during the process of placing a single or multiple item-level holds in the OPAC. The item-selection radio button is now in a separate column from copy number, and the columns can be configured. Note: This patch includes indentation changes, so ignore whitespace when viewing the diff. To test, apply the patch and restart services. - If necessary, go to Administration -> Circulation and fine rules and enable item-level holds in one of the rules. - Log in to the OPAC and start the process of placing a hold on a title which falls under your configured circulation rule. - On the place hold page, click "Show more options" and "A specific item" to show the table of items. - The radio buttons and copy numbers should appear in separate columns. - Go to Administration -> Table settings -> OPAC -> opac_holds and change the table's configuration to hide one or more columns. - Return to the OPAC holds process and confirm that the table reflects your configuration changes. - Perform the same test with multiple holds (selecting multiple items in catalog search results). Sponsored-by: Athens County Public Libraries Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Created attachment 171455 [details] [review] Bug 37219: In OPAC item holds, separate copy number from radio button and add table configuration This patch changes the way items are displayed during the process of placing a single or multiple item-level holds in the OPAC. The item-selection radio button is now in a separate column from copy number, and the columns can be configured. Note: This patch includes indentation changes, so ignore whitespace when viewing the diff. To test, apply the patch and restart services. - If necessary, go to Administration -> Circulation and fine rules and enable item-level holds in one of the rules. - Log in to the OPAC and start the process of placing a hold on a title which falls under your configured circulation rule. - On the place hold page, click "Show more options" and "A specific item" to show the table of items. - The radio buttons and copy numbers should appear in separate columns. - Go to Administration -> Table settings -> OPAC -> opac_holds and change the table's configuration to hide one or more columns. - Return to the OPAC holds process and confirm that the table reflects your configuration changes. - Perform the same test with multiple holds (selecting multiple items in catalog search results). Sponsored-by: Athens County Public Libraries Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Created attachment 174551 [details] [review] Bug 37219: In OPAC item holds, separate copy number from radio button and add table configuration This patch changes the way items are displayed during the process of placing a single or multiple item-level holds in the OPAC. The item-selection radio button is now in a separate column from copy number, and the columns can be configured. Note: This patch includes indentation changes, so ignore whitespace when viewing the diff. To test, apply the patch and restart services. - If necessary, go to Administration -> Circulation and fine rules and enable item-level holds in one of the rules. - Log in to the OPAC and start the process of placing a hold on a title which falls under your configured circulation rule. - On the place hold page, click "Show more options" and "A specific item" to show the table of items. - The radio buttons and copy numbers should appear in separate columns. - Go to Administration -> Table settings -> OPAC -> opac_holds and change the table's configuration to hide one or more columns. - Return to the OPAC holds process and confirm that the table reflects your configuration changes. - Perform the same test with multiple holds (selecting multiple items in catalog search results). Sponsored-by: Athens County Public Libraries Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
@Joubu can you please check if that is OK to push with the recent DT work and the work to come?
Pretty sure this does not work correctly. If you have table's headers depending on syspref, you have to use bKohaColumnsUseNames or the column visibility won't work correctly.
Thanks, Joubu. Owen, can you please check?
This needs to be rebuilt on top of the other DataTables patches that are in the queue. Please ping me if needed.