https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35972
--- Comment #14 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 192861 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192861&action=edit Bug 35972: Add course_type support to staff interface This patch adds course type selection and display to the staff interface for course reserves management. Changes to course scripts: 1. course.pl: - Pass course_types authorized values to template - Similar to existing departments and terms 2. mod_course.pl: - Capture course_type parameter from form submission - Default to 'COURSE' if not specified - Pass to ModCourse for database update Changes to staff templates: 1. course.tt (course creation/edit form): - Added course_type dropdown as first field (required) - Populates from CR_TYPE authorized values - Uses lib field for staff interface display text - Pre-selects current value when editing 2. course-reserves.tt (course listing): - Added "Type" column to course table - Displays course_type using AuthorisedValues.GetByCode - Positioned between "Name" and "Dept." columns 3. course-details.tt (course details view): - Added course type display in course information - Shows after course name, before term - Uses lib field from CR_TYPE authorized values Benefits for staff: - Clear indication of course type (regular, research table, on display) - Ability to filter/sort courses by type in listing - Easy selection when creating new courses - Consistent terminology via authorized values This completes the course_type implementation across both staff and OPAC interfaces, providing a unified flexible system for managing different types of course displays. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
