Lines 73-79
location is one of this:
Link Here
|
73 |
|
73 |
|
74 |
sub search_for_display { |
74 |
sub search_for_display { |
75 |
my ( $self, $params ) = @_; |
75 |
my ( $self, $params ) = @_; |
76 |
my $lang = $params->{lang}; |
76 |
my $lang = $params->{lang} || q{}; |
77 |
|
77 |
|
78 |
# If lang is not default, we will search for entries matching $lang but fallback to default if $lang is not found |
78 |
# If lang is not default, we will search for entries matching $lang but fallback to default if $lang is not found |
79 |
# Then we need a subquery count in where clause; DBIx::Class/SQL::Abstract does not support it, fallback to literal SQL |
79 |
# Then we need a subquery count in where clause; DBIx::Class/SQL::Abstract does not support it, fallback to literal SQL |