"user ID from URL " gone in views contextual filter ?

Created on 19 September 2023, over 1 year ago
Updated 28 September 2023, about 1 year ago

I noticed the "user ID from URL " option gone in views contextual filter, I need to display a view with useraccount fields on user account page which can be seen by all other users, please advise how can I make this without the option "user ID from URL " thnks

πŸ’¬ Support request
Status

Closed: works as designed

Version

10.1 ✨

Component
Views UIΒ  β†’

Last updated 21 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom freelylw

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

Comments & Activities

  • Issue created by @freelylw
  • πŸ‡¬πŸ‡§United Kingdom freelylw

    I am using the filter "Filter the view to the currently logged in user." which I can show the views on each of user's account page, but within this views, when login userA go to userB's page, he will only seeing his own info, I need to let login user to see each other's info, without the traditional "user ID from URL ", I don't know how to make this work, please suggest

  • Status changed to Closed: works as designed about 1 year ago
  • πŸ‡³πŸ‡±Netherlands Lendude Amsterdam

    You need to use the "User ID from route context" default value in your contextual filter.

    So, select the field you want to filter on and add that as a contextual filter, then select "Provide default value" and then select "User ID from route context". Nothing changed there as far as I'm aware.

Production build 0.71.5 2024