I use a completely rewritten Review.pm file as it wasn't doing what I wanted. This is what I have for the user check:
# If we have a user to list
elsif ($args->{user}) {
$rec = { noLink => 1};# , Username => $args->{user} };
$args->{Review_LinkID} = '' ;
$args->{Review_Owner} = $args->{user} ;
$args->{ww} = 1; # Makes sure exact match is used
}
I have no idea why Username is set to be the searched for username - this just seems wrong.
# If we have a user to list
elsif ($args->{user}) {
$rec = { noLink => 1};# , Username => $args->{user} };
$args->{Review_LinkID} = '' ;
$args->{Review_Owner} = $args->{user} ;
$args->{ww} = 1; # Makes sure exact match is used
}
I have no idea why Username is set to be the searched for username - this just seems wrong.