From: <wol...@us...> - 2010-04-07 13:28:13
|
Revision: 11629 http://exist.svn.sourceforge.net/exist/?rev=11629&view=rev Author: wolfgang_m Date: 2010-04-07 13:27:53 +0000 (Wed, 07 Apr 2010) Log Message: ----------- [ignore] new bibliographic interface: small fixes. Modified Paths: -------------- trunk/eXist/webapp/biblio/filters.xql trunk/eXist/webapp/biblio/retrieve-mods.xql Modified: trunk/eXist/webapp/biblio/filters.xql =================================================================== --- trunk/eXist/webapp/biblio/filters.xql 2010-04-07 12:10:08 UTC (rev 11628) +++ trunk/eXist/webapp/biblio/filters.xql 2010-04-07 13:27:53 UTC (rev 11629) @@ -33,7 +33,7 @@ }; let $type := request:get-parameter("type", ()) -let $cached := session:get-attribute("cached") +let $cached := session:get-attribute("mods:cached") return if ($type eq 'author') then <ul xmlns="http://www.w3.org/1999/xhtml"> Modified: trunk/eXist/webapp/biblio/retrieve-mods.xql =================================================================== --- trunk/eXist/webapp/biblio/retrieve-mods.xql 2010-04-07 12:10:08 UTC (rev 11628) +++ trunk/eXist/webapp/biblio/retrieve-mods.xql 2010-04-07 13:27:53 UTC (rev 11629) @@ -336,7 +336,8 @@ <td colspan="2">In:</td> </tr>, if ($related/@xlink:href) then - for $ref in //mods:mods[@ID = $related/@xlink:href] + let $collection := util:collection-name($entry) + for $ref in collection($collection)//mods:mods[@ID = $related/@xlink:href] return mods:entry-full($ref) else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |