Browse Source

put parsing of pubType back for eds books

2.x-ebsco
Paul Pound 8 years ago
parent
commit
5cce314bc8
  1. 1
      targets/eds/css/roblib_search_eds.css
  2. 2
      targets/eds/js/eds_results.js

1
targets/eds/css/roblib_search_eds.css

@ -1,5 +1,4 @@
/* /*
Document : roblib_search_evergreen
Created on : Apr 11, 2013, 2:27:50 PM Created on : Apr 11, 2013, 2:27:50 PM
Author : ppound Author : ppound
Description: Description:

2
targets/eds/js/eds_results.js

@ -28,7 +28,7 @@ Drupal.behaviors.roblib_search_eds = {
items.push('<a href="http://proxy.library.upei.ca/login?url=' + val.PLink + '&scope=site">' + val2.TitleFull + '</a></div>'); items.push('<a href="http://proxy.library.upei.ca/login?url=' + val.PLink + '&scope=site">' + val2.TitleFull + '</a></div>');
}) })
} }
pubType = val.pubType; val.pubType == 'Book' ? pubType = 'Print Book' : pubType = val.pubType;
pubYear = val.RecordInfo.BibRelationships.IsPartOfRelationships["date"]; pubYear = val.RecordInfo.BibRelationships.IsPartOfRelationships["date"];
!pubYear ? pubYear = " " : pubYear = pubYear[0]["Y"]; !pubYear ? pubYear = " " : pubYear = pubYear[0]["Y"];

Loading…
Cancel
Save