Scenario:
- We use a popup with a table in it and a search box on it (in this example the Users object)
- Open the popup and search for a name (this works as expected)
- Close the popup
- Open the popup. The problem is that the search criteria seems to still be active. However there is nothing to delete in the search box. So we are stuck with nowhere to go until we refresh the entire page!
Sample XML:
<skuidpage showsidebar="false" showheader="false">
<models>
<model id="Users" limit="20" query="true" createrowifnonefound="false" sobject="User">
<fields>
<field id="Name"/>
</fields>
<conditions/>
</model>
</models>
<components>
<pagetitle model="Users">
<maintitle>
<template>{{Name}}</template>
</maintitle>
<subtitle>
<template>{{Model.label}}</template>
</subtitle>
<actions>
<action type="popup" label="Test Popup" window="self">
<popup title="New Popup" width="800">
<components>
<skootable showconditions="true" showsavecancel="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" createrecords="true" model="Users" buttonposition="" mode="read">
<fields>
<field id="Name"/>
</fields>
<rowactions>
<action type="edit"/>
<action type="delete"/>
</rowactions>
<massactions usefirstitemasdefault="true">
<action type="massupdate"/>
<action type="massdelete"/>
</massactions>
<views>
<view type="standard"/>
</views>
</skootable>
</components>
</popup>
</action>
</actions>
</pagetitle>
</components>
<resources>
<labels/>
<javascript/>
<css/>
</resources>
</skuidpage>