Titles in SIP information were corrupted user/dbs/uncorrupt_sip_title_unicode
authorDan Scott <dscott@laurentian.ca>
Fri, 23 Sep 2016 20:52:41 +0000 (16:52 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 23 Sep 2016 20:52:41 +0000 (16:52 -0400)
It looks like we're already getting the titles back in decoded UTF8 form
now, so we don't need to monkey with them via clean_text(). Patron
information, on the other hand, doesn't get corrupted when we call
clean_text(), so they probably are not already in decoded UTF8 form.

More to investigate but wanted to note this in code for now.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm

index 2a98825..9f5aabd 100644 (file)
@@ -270,7 +270,7 @@ sub sip_media_type {
 sub title_id {
     my $self = shift;
     my $t =  ($self->{mods}) ? $self->{mods}->title : $self->{copy}->dummy_title;
-    return OpenILS::SIP::clean_text($t);
+    return $t;
 }
 
 sub permanent_location {