Results are duplicated, if weights by arguments are used.

Created on 25 January 2023, almost 2 years ago
Updated 13 December 2023, 11 months ago

Problem/Motivation

Results are duplicated on the view, when weights by arguments exists in DB, and sort plugin without "Pass Contextual Filters" option is used.

Steps to reproduce

- Create a view with argument and draggable page.
- Sort items without argument in URL.
- Sort items with argument value in URL.
- Create a display (or use current) with draggableviews sort and turned-off "Pass Contextual Filters" option.
- Look for results.

Proposed resolution

When "Pass Contextual Filters" option disabled, "args" column isn't used for join. Join the table with "[]" args value to avoid duplicates.

User interface changes

No

API changes

No

Data model changes

No

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇧🇾Belarus dewalt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024