Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #687 (2) - product lists loaded from db now only display actual products #696

Merged
merged 1 commit into from
Nov 27, 2021

Conversation

monsieurtanuki
Copy link
Contributor

Impacted file:

  • dao_product_extra.dart: method getList, that loads ProductLists from the database, does no longer contain barcodes that don't match a Product

…splay actual products

Impacted file:
* `dao_product_extra.dart`: method `getList`, that loads `ProductList`s from the database, does no longer contain barcodes that don't match a `Product`
Copy link
Member

@M123-dev M123-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@@ -3,6 +3,7 @@ import 'dart:collection';
import 'dart:convert';

import 'package:diacritic/diacritic.dart';
import 'package:flutter/cupertino.dart';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't look like it's needed here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was surprised, too, when I reviewed my own code.
cupertino.dart is needed for debugPrint later in the code.
Is debugPrint actually needed, probably not, but that's the best I can do for the moment as I cannot reproduce the bug myself.
And thank you for the approval!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants