the badge/ticket relationships through badge groups now work
This commit is contained in:
parent
87cf7c26f5
commit
4ca80ad734
6 changed files with 85 additions and 36 deletions
|
|
@ -282,6 +282,7 @@ An array reference of assetIds to look for.
|
|||
|
||||
sub getItemsByAssetId {
|
||||
my ($self, $assetIds) = @_;
|
||||
return [] unless (scalar(@{$assetIds}) > 0);
|
||||
my @itemsObjects = ();
|
||||
my $items = $self->session->db->read("select itemId from cartItem where cartId=? and assetId in (".$self->session->db->quoteAndJoin($assetIds).")",[$self->getId]);
|
||||
while (my ($itemId) = $items->array) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue