Skip to content

Commit

Permalink
Updated user.pm (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
droberts-ctrlo committed Oct 26, 2023
1 parent 2a7a2a9 commit 942edb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GADS/Schema/Result/User.pm
Original file line number Diff line number Diff line change
Expand Up @@ -727,12 +727,12 @@ sub sqlt_deploy_hook {
$sqlt_table->add_index(name => 'user_idx_username', fields => [ { name => 'username', prefix_length => 64 } ]);
}

# Used to ensure an empty selector is available in the user edit page
has view_limits_with_blank => (
is => 'lazy',
clearer => 1,
);

# Used to ensure an empty selector is available in the user edit page
sub _build_view_limits_with_blank
{ my $self = shift;
return [$self->view_limits->all] if $self->view_limits->count;
Expand Down

0 comments on commit 942edb7

Please sign in to comment.