]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1913221: Don't display blank course section number in OPAC
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 2 Feb 2021 02:04:02 +0000 (18:04 -0800)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 7 Jul 2021 14:55:19 +0000 (10:55 -0400)
commit3f7a846db9365ec7156d449bafb7febdde26fb8a
treeb9582a915d5151fb2241c6013da6ee14beb0c189
parentf0ade82cf330b69468a230055e7791c05740cc82
LP1913221: Don't display blank course section number in OPAC

To test:

1) Use the Library Settings Editor to turn on the Course Materials
   Module.
2) In Local administration, go to the course reserves list.
3) Add several courses, some with section numbers, others without.
4) In the OPAC, use the Course Search function to search for the courses
   you just added.
5) Notice that the search results page has a place for section numbers,
   whether or not the course has one.
6) Click into some of the courses.  Notice that the course page also
   includes a place for section numbers, whether or not the course has
   one.
7) Apply this patch.
8) Repeat steps 4-6.  Notice that the blank "section number" areas no
   longer appear.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/templates/opac/course/results.tt2
Open-ILS/src/templates/opac/parts/course/body.tt2