partsdb

electronic parts inventory
git clone https://git.e1e0.net/partsdb.git
Log | Files | Refs | README | LICENSE

commit 4917f5afaa8a8390f7976f93630608b6a5481307
parent 3f5253117338d83d4ff2962b1b17a446e8da750a
Author: Paco Esteban <paco@e1e0.net>
Date:   Wed, 18 Oct 2023 20:11:44 +0200

fix PN in storage export list

Diffstat:
Mpartsdb/exports/templates/storage.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/partsdb/exports/templates/storage.html b/partsdb/exports/templates/storage.html @@ -29,7 +29,7 @@ {% for p in parts %} <tr> <td>{{ p.id }}</td> - <td><a href="part_{{ p.id }}.html">{{ p.pn }}</a></td> + <td><a href="part_{{ p.id }}.html">{{ '%04X' % p.id }}</a></td> <td><a href="part_{{ p.id }}.html">{{ p.mpn }}</a></td> <td>{{ p.manufacturer }}</td> <td>{{ p.description }}</td>