(filter-by-map filter-map map-coll)
Filter a collection of maps by a filter-map, where the filter map specifies the columns and the value to filter them by. Strings will be made into basic regexp.
Filter a collection of maps by a filter-map, where the filter map specifies the columns and the value to filter them by. Strings will be made into basic regexp.
(filtering FILTER entries)
Filter entries according to FILTER-MAP
Filter entries according to `FILTER-MAP`
(gen-filter {:as args :keys [col-map FILTER table-id filter-in-url]})
Generate an input meant to filter a column. filter-address
is the key of this filter in FILTER-MAP
and
may be a function, keyword, etc, as specified by (:valfn col-map)
Generate an input meant to filter a column. `filter-address` is the key of this filter in `FILTER-MAP` and may be a function, keyword, etc, as specified by `(:valfn col-map)`
(generate-filter-fn filter-map)
Produce the function which compares a filter-map to a map and deems it good or not. If a :key in filter-map
doesn't exist when filtering filterable-map
, the filterable map will fail this function.
Produce the function which compares a filter-map to a map and deems it good or not. If a :key in `filter-map` doesn't exist when filtering `filterable-map`, the filterable map will fail this function.
(map-from-url)
(on-click-filter {:as args :keys [col-map table-id filter-in-url FILTER value]})
Changes the filter value based on value clicked
Changes the filter value based on value clicked
(resolve-filter controls entries)
(sanitize-input-string string)
Takes an input string and escapes special characters that may affect regexp or URL mapping
Takes an input string and escapes special characters that may affect regexp or URL mapping
(search-in-url)
(url-from-map)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close