Announcement

Collapse
No announcement yet.

Default filter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Default filter

    Hi,
    I couldn't find where to change the default filter https://gyazo.com/452fb74286d70269a214414db51703aa next to the search bar

  • #2
    Check it in this path:

    application/Espo/Modules/Sales/Resources/metadata/clientDefs/Product.json


    "filterList": [ "available" ],
    CEO & Founder of Eblasoft.
    Professional EspoCRM development & extensions.

    Comment


    • #3
      It worked for the products entity, however when I try to add products to the quote (which uses a different entity quoteItem for the storage of those items) its still there, I checked the quoteItem file, but it does not contain any filters or anything similar.

      Comment


      • #4
        check this:

        client/modules/sales/src/views/quote-item/fields/name.js


        primaryFilterName: 'available',

        changing it in safe upgrade way is possible just search for customising views of fields
        CEO & Founder of Eblasoft.
        Professional EspoCRM development & extensions.

        Comment


        • #5
          It worked, thank you!

          Comment


          • #6
            I think you should use in clientDefs directory, in specific entity file these parameters:
            "defaultFilterData": {
            "primary": "available"
            },
            "selectDefaultFilters": {
            "filter": "available"
            },

            Comment

            Working...
            X