Skip to content

Commit

Permalink
small fix to supress our own beacon link
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Aug 9, 2013
1 parent 7f1a6e8 commit a590ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/xql/modules/ajax.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ declare function ajax:getPNDBeacons($pnd as xs:string, $name as xs:string, $lang
let $title := normalize-space($jxml/item[3]/item[$i])
let $text := normalize-space($jxml/item[2]/item[$i])
return
if(starts-with($link,"weber-gesamtausgabe.de")) then ()
if(matches($link,"weber-gesamtausgabe.de")) then ()
else <li><a title="{$title}" href="{$link}">{$text}</a></li>
}
</ul>
Expand Down

0 comments on commit a590ecf

Please sign in to comment.