Updated FormListEquiv.t, all tests pass
fix class method in DatabaseLink.pm fix accessor method in Form/DatabaseLink.pm
This commit is contained in:
parent
e1a90f66fd
commit
6d9ed4b3cd
3 changed files with 75 additions and 58 deletions
|
|
@ -192,6 +192,7 @@ A reference to the current session.
|
|||
=cut
|
||||
|
||||
sub getList {
|
||||
my $class = shift;
|
||||
my $session = shift;
|
||||
my $list = $session->db->buildHashRef("select databaseLinkId, title from databaseLink order by title");
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ Renders a database connection picker control.
|
|||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
$self->get("options") = WebGUI::DatabaseLink->getList($self->session);
|
||||
$self->set("options", WebGUI::DatabaseLink->getList($self->session));
|
||||
return $self->SUPER::toHtml();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue