Saltar navegación

[Resuelto] Passing arguments to a view / Views 3.6.26 breaks code that’s worked for years

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Creme 11 hours, 28 minutes ago.

Asistido por: Minesh.

Autor
Mensajes
#2874218

Has the syntax or mechanism for passing arguments from one view to another changed with Views 3.6.26?

Situation: An online magazine, one Volume per year, 10 Issues per Volume

Data structure:

Type: Magazine Volume
Field: magazine-volume-year

Type: Magazine Issue
Field: magazine-publication-year (relates to Volume year)

VIEW 1: magazine-all-volumes-vw, displays all Volumes sorted on magazine-volume-year descending (2026, 2025, etc)
For each Volume, call VIEW 2 magazine-issues-per-volume-vw, with argument magazine-volume-year

<wpv-loop>
  [wpv-view name="magazine-issues-per-volume-vw" volume="[types field='magazine-volume-year' output='raw'][/types]"]
</wpv-loop>

VIEW 2: magazine-issues-per-volume-vw
FILTER Magazine publication year is a number equal to VIEW_PARAM(volume)

<wpv-loop>
  <!-- display Month & Year of Magazine Issue, sorted on month number descending (July/August 2026, June 2026, May 2026, etc) -->
</wpv-loop>

For clarity, much detail has been omitted from the actual code.

This construct has worked perfectly for years, but with Views 3.6.26 the argument passed from VIEW 1 appears not to reach VIEW 2, which now displays nothing. Calling [wpv-attribute name="volume"] within VIEW 2 displays nothing.

Many thanks
Julian

#2874307

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

This is a known issue to us and we already fix the issue. We will publish the official hotfix version in near future.

For now, you can download the hotfix version from the following link:
= enlace oculto

Replace your existing view's plugin with the above donwloaded hotfix version and hopefully that will help you to fix this issue for now and I will update you here when we officially publish then new version for Toolset Views/Blocks.

#2874312

Hello Minesh
That works perfectly.
Yes, please notify me when the new version is officially published.
Many thanks