Skip to content

Commit

Permalink
MGR-129
Browse files Browse the repository at this point in the history
  • Loading branch information
madness-inc committed Dec 9, 2021
1 parent 3a99b8b commit 7abae6f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions application-home/conf/datasources/ds-cache.xml
Expand Up @@ -9,6 +9,7 @@
</permissions>
<params>
<param name="siteid" />
<param name="clearLink" />
</params>
<meta-data bindClass="java.util.Map$Entry">
<field name="key" type="longtext">
Expand All @@ -18,6 +19,15 @@
<label>value</label>
</field>
</meta-data>
<linkpanel location="bottom" id="other">
<link target="${clearLink}" mode="intern">
<icon>delete</icon>
<label id="cache.clear" />
<permissions>
<permission ref="cache.clear" mode="set" />
</permissions>
</link>
</linkpanel>
</config>
<bean id="cache">
<option name="mode" id="statistics" />
Expand Down
1 change: 1 addition & 0 deletions application-home/conf/pages/pg-sites.xml
Expand Up @@ -275,6 +275,7 @@
<datasource id="cacheStatistics">
<params>
<param name="siteid">${siteid}</param>
<param name="clearLink">/sites/update/${siteid}&#63;act=clearCache</param>
</params>
<condition expression="${not empty siteid}" />
</datasource>
Expand Down

0 comments on commit 7abae6f

Please sign in to comment.