Commit 5b92aa44 authored by Jeffrey Shell's avatar Jeffrey Shell

Change behavior of davLockManager - instead of searching the entire

Zope tree every time the DAV Lock Manager control panel is visited, it
gives the user a chance to specify a path to start from, shortening
query times (especially in large databases).
parent 7ba42575
......@@ -25,7 +25,7 @@ function toggleSelect() {
//-->
</script>
<dtml-let lockedobjs="findLockedObjects(frompath=REQUEST.get('frompath',''))">
<dtml-let lockedobjs="REQUEST.form.has_key('frompath','') and findLockedObjects(frompath=REQUEST.get('frompath','')) or []">
<dtml-if lockedobjs>
<p class="std-text">All locked objects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment