Bug 42579: Added "no-export" class to ratings div
"Title" column of Checkout history export contains too much
informations, making the export file hard to read and understand.
Test plan :
1 - Connect on OPAC
2 - Go to "Your account"
3 - Go to "Checkout history"
4 - Click on "CSV"
5 - Open file
6 - Notice that the "title" column is too long and contains ratings
informations
7 - Go back on OPAC
8 - Click on "Copy"
9 - Copy to a .txt file
10 - Notice the same problem as the CSV export
11 - Apply patch
12 - Repeat previous instructions
13 - Notice that the "title" column contains only the title
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
be571d1b50
commit
db3ca9f330
|
|
@ -1,4 +1,4 @@
|
|||
<div class="results_summary ratings" id="rating-[% item.itemnumber | html %]">
|
||||
<div class="results_summary ratings no-export" id="rating-[% item.itemnumber | html %]">
|
||||
[% SET rating_avg = item.ratings.get_avg_rating() %]
|
||||
[% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue