Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://crossmedia.atlassian.net/wiki/spaces/WD/pages/2098430016/Homepage#Search-bar-area.1

Starter-kit default config updates

Cursors :

all-videos :

  • previous value :

    Code Block
    languagejson
    {
      "path": "dam/asset",
      "max": 60,
      "staticQuery": {
        "assetnature": {
          "dof": {
            "code":"video"
          }
        }
      },
      "orderby": "created desc",
      "limit": 200,
    
      // Should apply asset nature filter from query
      "haveAssetNature": true
    }
    
  • new value :

    Code Block
    {
      "path": "dam/asset",
      "max": 60,
      "staticQuery": {
        "assetnature": {
          "dof": {
            "code": {
              "in": ["video"]
            }
          }
        }
      },
      "orderby": "created desc",
      "limit": 200,
    
      // Should apply asset nature filter from query
      "haveAssetNature": true
    }

Named filters :

Moved from common/named-filters to dam/named-filters :

  • photograph-prop

  • organization-prop

  • name-prop

  • description-prop

  • authorizedchannel-prop

video-group : deleted

rights-group :

  • previous value :

    Code Block
    [
      ["search.filters.rights"],
      "rightsGroupRightType",
      "rightsGroupEndRights"
    ]

  • new value :

    Code Block
    {
      "i18n": "search.filters.rights",
      "config": ["rightsGroupRightType", "rightsGroupEndRights"]
    }

Advanced search default config :

Previous value :

Code Block
{
  filters: [
    "nameProp",
    "descriptionProp",
    "created",
    "keywordsProp",
    "coverageProp",
    "folderPropNoLayout",
    "organizationProp",
    "photographProp",
    "languageProp",
    "authorizedchannelProp",
    "shootingdate"
  ]
}

New value :

Code Block
{
  "filters": [
    {
      "operators": [
        "contains",
        "in",
        "notcontains",
        "notin",
        "notempty",
        "empty"
      ],
      "field": "authorizedchannel"
    },
    {
      "operators": [
        "contains",
        "in",
        "notcontains",
        "notin",
        "notempty",
        "empty"
      ],
      "field": "coverage"
    },
    {
      "field": "created"
    },
    {
      "field": "shootingdate"
    },
    {
      "operators": [
        "in",
        "dof",
        "ndof",
        "notin",
        "notempty",
        "empty"
      ],
      "field": "folder"
    },
    {
      "operators": [
        "contains",
        "in",
        "notcontains",
        "notin",
        "notempty",
        "empty"
      ],
      "field": "langs"
    },
    {
      "field": "description"
    },
    {
      "operators": [
        "contains",
        "in",
        "notcontains",
        "notin",
        "notempty",
        "empty"
      ],
      "field": "keywords"
    },
    {
      "field": "name"
    },
    {
      "operators": [
        "in",
        "dof",
        "ndof",
        "notin",
        "notempty",
        "empty"
      ],
      "field": "organization"
    },
    {
      "operators": [
        "contains",
        "in",
        "notcontains",
        "notin",
        "notempty",
        "empty"
      ],
      "field": "photograph"
    }
  ]
}

SSO Config :

src/wedia-plugin-template/res/starter-kit/signin/sso-redirect-url-mode.json :

  • previous value : "fragment"

  • new value : "parameter"

Indicators config update :

src/wedia-plugin-template/res/starter-kit/dam/explore/indicators.json :

  • previous value :

    Code Block
    [
      {
        "rule": {
          "operator": "eq",
          "path": "visibility.id",
          "value": [2],
          "priority": 10,
          "skip": true
        },
        "icon": "fas fa-lock-alt",
        "tooltipPath": 'visibility.name'
      },
      {
        "rule": {
          "operator": "eq",
          "path": "visibility.id",
          "value": [2],
          "priority": 10,
          "skip": true
        },
        "icon": "fas fa-coffee",
        "class": "cw-status-indicator-icon-top-left"
      },
    ]
    
  • new value :

    Code Block
    [
      {
        "rule": {
          "operator": "eq",
          "path": "visibility.id",
          "value": [2],
          "priority": 10,
          "skip": true
        },
        "icon": "fas fa-lock-alt",
        "tooltipPath": "visibility.name"
      }
    ]