merge in a missing change required for NotifyAboutLowStock
This commit is contained in:
parent
5d3fc505cc
commit
1c2993dd86
1 changed files with 8 additions and 1 deletions
|
|
@ -1111,9 +1111,14 @@ while (my $product = $productIterator->()) {
|
|||
sub getIsa {
|
||||
my $class = shift;
|
||||
my $session = shift;
|
||||
my $offset = shift;
|
||||
my $def = $class->definition($session);
|
||||
my $tableName = $def->[0]->{tableName};
|
||||
my $sth = $session->db->read("select distinct(assetId) from $tableName");
|
||||
my $sql = "select distinct(assetId) from $tableName";
|
||||
if (defined $offset) {
|
||||
$sql .= ' LIMIT '. $offset . ',1234567890';
|
||||
}
|
||||
my $sth = $session->db->read($sql);
|
||||
return sub {
|
||||
my ($assetId) = $sth->array;
|
||||
if (!$assetId) {
|
||||
|
|
@ -1409,6 +1414,8 @@ Name value pairs to add to the URL in the form of:
|
|||
|
||||
=cut
|
||||
|
||||
=cut
|
||||
|
||||
sub getUrl {
|
||||
my $self = shift;
|
||||
my $params = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue