Change evergreen displays to use Tpac
authorArt Rhyno <art632000@yahoo.ca>
Thu, 10 Jan 2013 18:56:51 +0000 (13:56 -0500)
committerArt Rhyno <art632000@yahoo.ca>
Thu, 10 Jan 2013 18:56:51 +0000 (13:56 -0500)
The pattern for jspac was used before but it makes much more sense to use
the tpac interface. Thanks to shadowspar for flagging this for me.

Signed-off-by: Art Rhyno <art632000@yahoo.ca>
conifer/integration/evergreen_site.py

index 7cf4335..f0d8f4d 100644 (file)
@@ -444,9 +444,8 @@ class EvergreenIntegration(object):
         Given a bib ID, return either a URL for examining the bib record, or None.
         """
         if bib_id:
-            url = '%sopac/%s/skin/%s/xml/rdetail.xml?l=1&d=0&r=%s' % (
-                self.OPAC_URL, self.OPAC_LANG, self.OPAC_SKIN,
-                bib_id)
+            url = '%seg/opac/record/%s' % (
+                self.OPAC_URL, bib_id)
             return url
 
     if USE_Z3950: