Koha::Suggestions - Koha Suggestion object set class
my $suggestions = Koha::Suggestions->search_limited( $params, $attributes );
Returns all the suggestions the logged in user is allowed to see.
my $open = $suggestions->filter_by_pending;
Filters the resultset on those that are considered pending (i.e. STATUS = ASKED).
my $suggestions = $suggestions->filter_by_suggested_days_range( $days );
Filters the resultset on those placed within some $days range.
Kyle M Hall <kyle@bywatersolutions.com>