Overall | Fixes and improvements (Jan 2023)

  • Frontend API | It possible to get categories in autocomplete results even if the filter template with categories is hidden.
  • Backend API | The attribute endpoint’s documentation was unclear on which sources could be used to filter. Besides, the names of these sources were in Dutch. We’ve changed to English and added documentation to clarify which sources can be filtered.
  • Tweakwise App | Apparently it was possible to import categories with negative IDs. This should not have been possible in the first place, and in some instances, it broke applications in various places. With a new validation rule it is no longer possible to import categories with negative IDs anymore.
  • Tweakwise App | From now on, we show an error message in the derived attributes module when a query eventually cannot be processed by SQL.
  • Tweakwise App | We added a validation rule during feed import that prevents category trees with circular dependencies from being imported. A simple example is when category B has category A as its parent, but category A also has category B as its parent, causing an infinitely nested category structure because they reference each other.
  • Tweakwise App | Another validation rule when importing a feed was added. Customers now aren’t able to import categories anymore for which no name is specified.
  • Javascript

  • JS Implementation | We've fixed a bug where the Javascript wouldn't show the selected filters correctly when customers would try to change the filters from outside of the JS implementation.
  • JS Implementation | We have added plurality translations for only one search or navigation result. For example, instead of showing: "1 search results for 'search term'" we now show "1 search result for 'search term'". This change has been applied to all available languages.