Home | Trees | Indices | Help |
|
---|
|
Framework for filtered REST requests
Copyright: 2013-2019 (c) Sahana Software Foundation
License: MIT
Requires: gluon
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Classes | |
S3FilterWidget Filter widget for interactive search forms (base class) |
|
S3TextFilter Text filter widget |
|
S3RangeFilter Numerical Range Filter Widget |
|
S3AgeFilter | |
S3DateFilter Date Range Filter Widget - use a single field or a pair of fields for start_date/end_date |
|
S3SliderFilter Filter widget for Ranges which is controlled by a Slider instead of INPUTs Wraps jQueryUI's Range Slider in S3.range_slider in S3.js |
|
S3LocationFilter Hierarchical Location Filter Widget |
|
S3MapFilter Map filter widget Normally configured for "~.location_id$the_geom" |
|
S3OptionsFilter Options filter widget |
|
S3HierarchyFilter Filter widget for hierarchical types |
|
S3NotEmptyFilter Filter to check for presence of any (non-None) value in a field |
|
S3FilterForm Helper class to construct and render a filter form for a resource |
|
S3Filter Back-end for filter forms |
|
S3FilterString Helper class to render a human-readable representation of a filter query, as representation method of JSON-serialized queries in saved filters. |
Functions | |||
|
|||
|
Function Details |
Lazy options getter - this is useful when the expected number of options is significantly smaller than the number of records to iterate through
Note: unlike the built-in reverse lookup in S3OptionsFilter, this function does *not* check whether the options are actually in use - so it can be used to enforce filter options to be shown even if there are no records matching them. |
Set a default filter for selector.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Mar 15 08:51:49 2019 | http://epydoc.sourceforge.net |