Skip default argument for view URL does not work!

Created on 25 November 2010, over 14 years ago
Updated 21 February 2023, about 2 years ago

I'm using a View with 2 arguments: one passed on the URL and the second is computed. When I attach a feed to this view, the feed URL contains those 2 arguments. What I really need is that the feed URL only contains the explicit argument, not the computed one.

The patch here modifies view::get_url to only include arguments that were passed on the URL. To detect them, it sets a new attribute in the argument handler called is_default during view::_build_arguments.

โœจ Feature request
Status

Needs work

Version

10.1 โœจ

Component
Viewsย  โ†’

Last updated about 6 hours ago

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada infojunkie Vancouver

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024