LP1920039-Bootstrap Opac: More Details button doesn't change on use. user/gcollum/lp1920039_bootstrap_opac_more_or_less_details_button
authorGarry Collum <gcollum@gmail.com>
Thu, 13 Jan 2022 20:02:34 +0000 (15:02 -0500)
committerGarry Collum <gcollum@gmail.com>
Thu, 13 Jan 2022 20:02:34 +0000 (15:02 -0500)
commitaeddd8a2fcf0ebbf80a3ea96250e84b04a0a71a7
tree1746525bde28bdd2011eb60f6b7bc90f70089370
parent9f6ddd07a8e8c39c85a58ae3f0a2e00fe0364047
LP1920039-Bootstrap Opac: More Details button doesn't change on use.

The 'More Details' button in a bib record in the Bootstrap Opac should change
to say 'Less Details' when pressed.  This patch fixes that behavior.

To Test.
1. Go to a bib record in the boostrap opac.
2. Press "More Details"
3. Notice the button still displays "More Details"
4. Apply the patch and repeat.
5. The button should now toggle between "More Details" and "Less Details"

Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2