Bug fixes:
Fix Bootstrap CSS classes for checkboxes/radios in filter portlet/tile.
upgrade dependencies.
[petschki] (#211)
New features:
- Add a Reset Button to Reset all Filters. [toalba, jensens] (reset-button)
Bug fixes:
- Fix German label from 'Portlet Titel' to 'Filtertitel'. [jensens] (detranslation)
New features:
- Implement CSS class for disabling collectionfilter:reload event when links in enhanced custom filter templates are designed for other actions (eg. dropdowns or collapsibles). [petschki] (#201)
Bug fixes:
- Fix selecting default content_selector for mosaic pages with contentlisting tile. [petschki] (#202)
Bug fixes:
- Fix filter tiles when more than one contentlisting is on the same page. [petschki] (#150)
Internal:
- Update configuration files. [plone devs] (8af8caab)
- Nothing changed yet.
- implement geojson_ajaxurl property for pat-leaflet to load geojson information asynchronously. [petschki]
- Fix translations for swiss german [agitator]
- Updated classifiers [petschki]
Breaking Change:
- add Plone 6 ES6 compatible Bundle
- add Plone 6 ES6 compatible JS and SCSS resources
- add Plone 6 Javascript Bundle Infrastructure
- update Portlet Template, Plone 6 ready, use the 'cards' Element
- add Upgrade Step to remove old registry settings
- increment Version in Metadata
- add tox Test Instrastructure
- update github workflow, remove Plone 5 from matrix [1letter]
Breaking Change:
- Remove Plone 5.0 and 5.1 support. [petschki]
- Add idx parameter to display_modifier call, so that we can use the index name to resolve the correct translated taxonomy titles in collective.taxonomy. This means that the display_modifier method in the groupby_modifier adapters needs to expect this parameter too! [MrTango]
Features:
- Add checkbox to reverse output the filters. [jensens]
- Support and Test Plone 6. [jensens]
- Add a module global COLLECTIONISH_TARGETS to c.c.tiles to register other tiles with collections than plone.app.standardtiles.contentlisting. [jensens]
Bug Fixes:
- Fix b_start in tiles, where the key is pre/postfixed. Removes those from new filters too, in order to not be on a page that does not exist for the new filtered result. [jensens]
- Not every metadata entry has an index with same name. Ignore if not a pair. [jensens]
- Fix/Workaround for #59 (Int fields in indexes are not working). [jensens]
- Hide uninstall profiles from install view. [jensens]
- Fix edge cases where "All" wasn't translated. [agitator]
- Ensure a GroupByCriteria's sort_key_function function lower() call gets a string. [jensens]
- Fixed searches for only non-alphanumeric characters causing an exception to be displayed. [JeffersonBledsoe]
Other:
- Code-Style Black and Isort [jensens]
- Updated de and ch-de translations [agitator]
- Use collection from context as default. target_collection is now used to select an alternative collection as result source. This allows to copy and paste preconfigured collections for reuse without reconfiguring each filter element. [agitator]
- Fix search which include the terms "and", "or" and "not" [jeffersonbledsoe]
- Do not render filter tiles when page gets AJAX loaded [petschki]
- Do not add hidden field
collectionfilter
multiple times. Fixes #116 [petschki]
- Separated translation display_modifier for portal_type and Type. [iham]
Features:
- Add sorting tile/portlet to populate selected sort indexes to enduser [petschki]
- Added translation display_modifier for portal_type and Type. [iham]
Bug fixes:
- fix
filter_type
for indexes withoutoperator
capability. Fixes #74 [petschki]
- Fix is_available property [agitator]
- Added css_modifier to extend css class of a filter item [agitator]
- Fix check for boolean values. [tmassman]
- fix translation of
filter_value
[petschki]
Bug fixes:
- fix bug introduced with pattern option
ajaxLoad
[petschki]
Features:
- Restore 5.0.x compatibility [djay, quang]
- Make ajax loading of results and portlets a pattern option is themers can override it [quang]
- change collection picker to show parent by default so you don't have to click backwards [djay]
Bug fixes:
- Fix double display of portlets profile [agitator]
- Fix bug where filter urls was getting utf encoded then made into unicode again [djay]
- Fix 5.2 where operators should not be used on all index types [djay]
- Fix unfiltered results appearing in next page of batch [djay]
- Fix bug where portlets didn't work without GeoLocation dependencies [djay]
New features:
- Geolocation filter. [petschki, thet]
Bug fixes:
- Remove dependency on plone.app.upgrade [agitator]
- Constrain
target collection
to a configurable registry value. The default is['Collection', ]
. [petschki] - Fix non-interable catalog metadata values for Python 3. [petschki]
- Use Map Layer translations from plone.formwidget.geolocation [petschki]
- Fix
None
value insafe_interable
[petschki] - Fix for empty SearchableText field (see #56) [petschki]
Breaking changes:
- Remove support for Plone < 5.1. [petschki]
New features:
- Python 3 compatibility. [petschki]
- Test setup [petschki]
Bug fixes:
- fix bug in @@render-portlet for Python 3. NOTE on Python 3: this required plone.app.portlets >= 4.4.2 [petschki]
New features:
- Python 3 compatibility. [agitator]
Bug fixes:
- Do not render an empty
filterClassName
. [thet] - patCollectionFilter is not in settings, it’s in view. [agitator]
- Fix styles for long/multiline filter terms [agitator]
- Fix upgrade steps and reapply profile to fix bundle registration Remove conditional reinitialization - caused problems with other patterns [agitator]
Breaking changes:
- Remove the
cache_time
setting and replace it withcache_enabled
. - collectionsearch.pt: changed view attribute
header_title
totitle
. - Depend on plone.app.contenttypes.
All target collections must provide
plone.app.contenttypes.behaviors.collection.ICollection
interface. Theresult
method will be callend on this behavior adapter. - There is a implicit dependency to Font Awesome for the filter tile edit links. That has to be revisited to make it work out of the box.
- Modernized markup for easier styling
New:
- Optimize the cache key by including the current language, user roles instead of id and the database counter.
- Remove the view_name part when populating the browser history with filter changes. The view_name part is for loading specific AJAX tiles, but should probably not be displayed.
- Add filter and search tiles.
- Add a
sort_key_function
key to the IQueryModifier dict to allow for a different sort key function when sorting the values. - Add a
index_modifier
key to the IQueryModifier indexes dict to allow transforming of index search values. ForKeywordIndex
indices the index_modifier is automatically set to encode the value to utf-8. - Add a
value_blacklist
key to the IQueryModifier indexes dict to allow blacklisting of individual index values. - Add
view_name
configuration parameter to call a special result listing view. This can be used to call a tile instead to call the whole context view. - Add
content_selector
configuration parameter to choose a DOM node from the source to inject into the target. - Ensure early exit on the content filter traverse handler if it is not needed to run.
- Make backwards compatible with Plone 5.0 [nngu6036, instification]
Bug fixes:
- When reloading the collection in JavaScript, use the content selector's parent as base to trigger events on. The content selector itself is replaced and events cannot be caught.
- Register the bundle compile files as
collectionfilter-bundle-compiled.js
andcollectionfilter-bundle-compiled.css
, so that usingplone-compile-resources
results in the same files. See: plone/Products.CMFPlone#2437 - Sort the filter value list for filter title instead filter value.
- fix collectionsearch portlet [petschki]
- when providing a custom IGroupByCriteria adapter, fallback to title sorted values if no sort_key_function is given. [petschki]
- Fix target collection selection via catalog vocabular and RelatedItemsFieldWidget. [agitator]
- Implement AJAX search for the collection search portlet. [thet]
- Update the history / location bar URL with the current filter URL. [thet]
- Fix error where
closest
DOM method isn't supported on IE. Fixes #6. [agitator] - Register bundle to depend on
*
to avoid weird Select2 initialization error. [thet] - Add
input_type
option to be able to better select the type of input. Addinput_type
support for dropdowns. Removeas_input
attribute and provide upgrade step for it. [thet] - Initial release from collective.portlet.collectionfilter. [thet]