diff --git a/.github/dev_bug_report.md b/.github/dev_bug_report.md deleted file mode 100755 index ef93e56..0000000 --- a/.github/dev_bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Dev Bug Report -about: Create a report to help us improve -title: '' -labels: stat_backlog, type_bug -assignees: '' - ---- - -# Bug Description -A clear and concise description of what the bug is. - -# How to Reproduce - -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -## Minimal Code Example - -``` -// your code ... -``` - -# Expected Behavior -A clear and concise description of what you expected to happen. - -# Screenshots -If applicable, add screenshots to help explain your problem. - -# Additional Information -Add any other context about the problem here. diff --git a/.github/dev_feature_request.md b/.github/dev_feature_request.md deleted file mode 100755 index 9573c35..0000000 --- a/.github/dev_feature_request.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: Dev Feature Request -about: Suggest an idea for this project -title: '' -labels: stat_backlog, type_feature -assignees: '' - ---- - -# What is the feature you request -* A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -* A clear and concise description of what you want to happen. - -# Alternatives -A clear and concise description of any alternative solutions or features you've considered. - -# Additional Information -Add any other context or screenshots about the feature request here. diff --git a/Controller/ApiController.php b/Controller/ApiController.php index e08c38a..ed771dc 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -209,7 +209,7 @@ final class ApiController extends Controller $schema['gtin'] = $attr; } - if (!empty($attr = $item->getAttribute('releasedate')->value->getValue())) { + if (!empty($attr = $item->getAttribute('release_date')->value->getValue())) { $schema['releasedate'] = $attr; } @@ -384,7 +384,7 @@ final class ApiController extends Controller ->with('attributes/type') ->with('attributes/value') ->with('l11n/type') - ->where('l11n/type/title', ['name1', 'name2', 'name3'], 'IN') + ->where('l11n/type/title', ['name1', 'name2'], 'IN') ->where('l11n/language', $bill->language) ->where('attributes/type/name', [ 'segment', 'section', 'sales_group', 'product_group', 'product_type',