summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Staff.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-07-02 14:40:31 +0200
committerYorhel <git@yorhel.nl>2016-07-02 14:40:31 +0200
commitd393bac3b28716ab6d5cb0b159e149ebf9920f51 (patch)
treec9c43694a7b7688187f70b7f50462ebae40904b6 /lib/VNDB/Handler/Staff.pm
parentfcbc0f50793beaeeb6dc61ddf109d98606ada8e8 (diff)
JS: Use alias ID in dropdown search to fix selection
Diffstat (limited to 'lib/VNDB/Handler/Staff.pm')
-rw-r--r--lib/VNDB/Handler/Staff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Staff.pm b/lib/VNDB/Handler/Staff.pm
index b58759ec..e95a4ed5 100644
--- a/lib/VNDB/Handler/Staff.pm
+++ b/lib/VNDB/Handler/Staff.pm
@@ -388,7 +388,7 @@ sub staffxml {
xml;
tag 'staff', more => $np ? 'yes' : 'no';
for(@$list) {
- tag 'item', id => $_->{id}, aid => $_->{aid}, $_->{name};
+ tag 'item', sid => $_->{id}, id => $_->{aid}, $_->{name};
}
end;
}