Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Member search by filter does not workMember search by filter does not work
Previous
 
Next
New Post
10/10/2016 2:56 PM
 

Hello

I am running DNN 7.4.2 with Turbo Scripts and am having an issue with the member directory search. I have a profile field called usertype and am filtering the member list by the value in usertype. The list displays correctly however basic and advanced search do not return results. If I remove the filter and set it to no filter, it works fine including autofill. I thought it might be view permissions on the new profile field but it is set to public. This is a single portal install.

Any thoughts?

Thanks

Carl

 
New Post
10/10/2016 6:31 PM
 
Carl,
I am not aware of any special treatment of a user property named "userType".
I suggest using Host > SQL module to nail it down.
please modidy GetUsersAdvancedSearch sproc by adding the following line before the last one ("Execüte sp_execütesql @strSQL,..." - I need to modify the statement here to avoid it being filtered):
SELECT @strSQL;

Now execute this sproc:
Execüte {databaseOwner}[{objectQualifier}GetUsersAdvancedSearch] 0, 1, Null, Null, Null, 1, 1000, 0, N'UserName', 1, Null, Null

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/10/2016 7:31 PM
 
Hi Sebastian

I did as you suggested and ran the sproc from host>sql and the first query generated the sql and the second appeared to return all users which is the unfiltered view of the member list.

In the module settings for the member directory there are options for filters and sorting. I set the filter to filter by Profile Property and selected a custom profile property defined as UserType - one of the types is partner. this works ok. only partners show is the list. The basic or advanced search doesn't appear to work and I just discovered that if I set the filter option to No Filter which returns all members, I can use basic search, autocomplete works and I can even do a partial search argument. So instead of dotnetnuke I can search for dotnet and all members that contain dotnet return.

If I change the filter to anything else (user, group, relationship) autocomplete does not work and partial search arguments do not work. If I enter the full search argument, then it returns a result.

So it appears that the filter is not being handled?

Thanks for you help and response to this.
 
New Post
10/10/2016 7:43 PM
 
Carl,
there are issues with the module, but to nail it down, I suggest using SQL Server Profiler and capture the calls and the parameters used. I might have an issue in processing the parameter values in my versions of the sproc.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/10/2016 8:04 PM
 
will do. thanks!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Member search by filter does not workMember search by filter does not work


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out