jmakeig / narthex

Narthex is a front-end that simplifies understanding and working with content in a MarkLogic Server database.
Other
7 stars 4 forks source link

Database selection should default to current database, not “Documents” #6

Open jmakeig opened 13 years ago

jmakeig commented 13 years ago

https://github.com/jmakeig/narthex/blob/master/src/invoker.xqy#L11 hardcodes “Documents”. It should use xdmp:database() for the case where “Documents” is not the default database.

collwhit commented 12 years ago

Just committed a fix for this; take a look, close issue if you're satisfied.