Commit 8be087fc authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

nettoyage anciens appels getBaseURI sur plugin pager et index

parent b3ddae4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ declare function max.plugin.index:loadIndex($edition,$type,$xq,$xsl,$lang) {
	let $projectIndex :=
		xquery:eval(xs:anyURI($xq),map{
			'project':$edition,
            'baseURI': max.config:getBaseURI(),
            'baseURI': max.util:getRelativeRootPath($edition),
            'dbPath':$dbPath
        })
    (:let $filePath := file:parent(file:parent(file:parent(static-base-uri()))) || '/editions/projets_ead_pdn/fragments/'||$lang||'/index/pre_index_'||$type||'.frag.html'
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ function max.plugin.pager:getFragmentPage($project,$routeDoc,$id){

declare function max.plugin.pager:getBackToTxtURL($project,$routeDoc,$id){
 let $page := max.plugin.pager:getFragmentPage($project,$routeDoc,$id)
 return max.config:getBaseURI() || $project || "/" || $routeDoc || "/page/"||$page ||"/"||$id
 return max.util:getRelativeRootPath($project) || $routeDoc || "/page/"||$page ||"/"||$id
};

declare