from Bug 23547 Katrin Fischer 2019-09-05 16:00:44 UTC It would be nice if it was easy to hide columns from the course reserves table in the OPAC (example: hide the Link column because it doesn't contain full text links reliably). Bug 23547 adds the ability to configure columns for course_reserves_table on the OPAC. It would be helpful to also add configuration for course_items_table in the OPAC. Lisette
Created attachment 99445 [details] [review] Bug 24701: Add column config to course_items_table This patch adds course_items_table to the column config tool TEST PLAN: 1. Have some course reserves 2. Add some items to that course reserve and browse to opac-course-details 2. See all the unconfigurable columns 3. Apply patch 4. Browse to column config > OPAC > opac-course-details 5. Try hiding each column and make sure the correct column is hidden on opac-course-details.pl
Created attachment 99455 [details] [review] Bug 24701: Add column config to course_items_table This patch adds course_items_table to the column config tool TEST PLAN: 1. Have some course reserves 2. Add some items to that course reserve and browse to opac-course-details 2. See all the unconfigurable columns 3. Apply patch 4. Browse to column config > OPAC > opac-course-details 5. Try hiding each column and make sure the correct column is hidden on opac-course-details.pl Signed-off-by: Lisette Scheer <lisettes@latahlibrary.org>
Thx Lucas and Lisette!
Love the patch, but sadly it removes the 'search' input field above the table in my tests, that we have without the configuration. :(
Created attachment 99469 [details] [review] Bug 24701: Add column config to course_items_table This patch adds course_items_table to the column config tool TEST PLAN: 1. Have some course reserves 2. Add some items to that course reserve and browse to opac-course-details 2. See all the unconfigurable columns 3. Apply patch 4. Browse to column config > OPAC > opac-course-details 5. Try hiding each column and make sure the correct column is hidden on opac-course-details.pl
Created attachment 99470 [details] [review] Bug 24701: Add column config to course_items_table This patch adds course_items_table to the column config tool TEST PLAN: 1. Have some course reserves 2. Add some items to that course reserve and browse to opac-course-details 2. See all the unconfigurable columns 3. Apply patch 4. Browse to column config > OPAC > opac-course-details 5. Try hiding each column and make sure the correct column is hidden on opac-course-details.pl
Cait, It looks like I was missing a dataTable configuation, I added this back in.
Created attachment 100677 [details] [review] Bug 24701: Add column config to course_items_table This patch adds course_items_table to the column config tool TEST PLAN: 1. Have some course reserves 2. Add some items to that course reserve and browse to opac-course-details 2. See all the unconfigurable columns 3. Apply patch 4. Browse to column config > OPAC > opac-course-details 5. Try hiding each column and make sure the correct column is hidden on opac-course-details.pl Signed-off-by: Devinim <kohadevinim@devinim.com.tr>
Created attachment 100698 [details] [review] Bug 24701: Add column config to course_items_table This patch adds course_items_table to the column config tool TEST PLAN: 1. Have some course reserves 2. Add some items to that course reserve and browse to opac-course-details 2. See all the unconfigurable columns 3. Apply patch 4. Browse to column config > OPAC > opac-course-details 5. Try hiding each column and make sure the correct column is hidden on opac-course-details.pl Signed-off-by: Devinim <kohadevinim@devinim.com.tr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Nice work everyone! Pushed to master for 20.05
enhancement not backported to 19.11.x