Skip to content

[SEARCH] [TAGS] tag system setup

Ghost User requested to merge SEARCH_ENGINE_actastaggableon into staging

Goals

Add a tagging system for the Compost model

  • add tags to composts
  • filter compost according to tags

Changes

  • db/schema.rb : ran tags migrations
  • app/models/compost.rb : added tag lists to strong params

Tests

  • in rails console
    • CRUD possible on compost tags in district and composition lists : PASSED
    • CRUD impossible on other lists : PASSED
    • Compost search possible by tag with all selected tags, any selected tag, excluding a tag : PASSED

Links

Side notes

Documentation written in Wiki

Merge request reports