Major enhancements to openils.widget.PCrudFilterDialog user/senator/pcrudfilterdialog-enhanced
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 9 Jan 2012 19:45:04 +0000 (14:45 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 9 Jan 2012 19:55:20 +0000 (14:55 -0500)
commit271da14e0663e8a7e045643389f1d6c7ef4f9bae
tree895c0db06505bf1a31b5bc3dbdc6ec260a889c93
parentd4a2d2cd5ea5e42d2be6480c5507a22a7ee83ab8
Major enhancements to openils.widget.PCrudFilterDialog

openils.widget.PCrudFilterDialog is (now) a dijit that allows users to define
inclusionary filters based on any number of rows that specify a field
from a given fieldmapper class, an operator, and a value (or range of
values, for the [not] between operator).  The resulting filter is
suitable for use as the where clause of a pcrud search call.

AutoGrid has an option, showLoadFilter, that allows you to easily
provide a filter dialog in any AutoGrid-based interface, with some minor
caveats (see the comments at the top of the source for
openils.widget.PCrudFilterDialog).  AutoGrid will also pass along the
suppressFilterFields option, which works analagously to the
suppressEditFields option.  You can also build your own interfaces to
use this dijit without AutoGrid, if desired.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/web/css/skin/default.css
Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
Open-ILS/web/js/dojo/openils/widget/PCrudFilterDialog.js
Open-ILS/web/js/dojo/openils/widget/nls/PCrudFilterDialog.js [new file with mode: 0644]