mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-20 17:19:34 +00:00
Renamed vendor_barcode to user_barcode in entities
This commit is contained in:
parent
03ec4a9f84
commit
baa7279adc
9 changed files with 30 additions and 18 deletions
|
|
@ -220,7 +220,7 @@ final class BarcodeScanHelper
|
|||
{
|
||||
$lot_repo = $this->entityManager->getRepository(PartLot::class);
|
||||
//Find only the first result
|
||||
$results = $lot_repo->findBy(['vendor_barcode' => $input], limit: 1);
|
||||
$results = $lot_repo->findBy(['user_barcode' => $input], limit: 1);
|
||||
|
||||
if (count($results) === 0) {
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue