Announcement

Collapse
No announcement yet.

Text Filter Fields

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

  • Text Filter Fields

    Hi,
    How to add additional fields.
    For example, there is only 2 in the Knowledge Base. The field solution would still be important.
    peter

  • #2
    Sorry
    I can't even imagine, what do you mean... Could you explain?

    Comment


    • #3

      Comment


      • #4
        client/src/views/admin/entity-manager/modals/edit-entity.js
        since 214 row
        add wysiwyg to list

        Code:
        var optionList = Object.keys(fieldDefs).filter(function (item) {
                            if (!~['varchar', 'text', 'phone', 'email', 'personName', 'number','wysiwyg'].indexOf(this.getMetadata().get(['entityDefs', scope, 'fields', item, 'type']))) {
                                return false;
                            }
                            if (this.getMetadata().get(['entityDefs', scope, 'fields', item, 'disabled'])) {
                                return false;
                            }
                            return true;
                        }, this);
        or change collection in entityDefs in KnowledgeBaseaArticle to
        Code:
            "collection": {
                "sortBy": "order",
                "asc": true,
                "textFilterFields": ["name", "description", "body"]
            }
        but without customization in front-end side, this modification won't be visable.

        But I'm sure, that search in wysiwyg field will work correctly.

        Comment


        • #5
          Thank you very much.

          Comment

          Working...
          X