Bug when changing image name solved

This commit is contained in:
Juan 2018-04-09 14:43:21 +02:00
parent 9cddde8d8f
commit ba802341db
5 changed files with 10 additions and 10 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.405.83) stable; urgency=low hedera-web (1.405.84) stable; urgency=low
* Initial Release. * Initial Release.

View File

@ -32,7 +32,7 @@ Hedera.Catalog = new Class
{ {
document.body.appendChild (this.$('right-panel')); document.body.appendChild (this.$('right-panel'));
this.$('items-model').setInfo ('i', 'item', 'vn', ['itemFk']); this.$('items-model').setInfo ('i', 'item', 'vn', ['id']);
if (localStorage.getItem ('hederaView')) if (localStorage.getItem ('hederaView'))
this.setView (parseInt (localStorage.getItem ('hederaView'))); this.setView (parseInt (localStorage.getItem ('hederaView')));
@ -269,7 +269,7 @@ Hedera.Catalog = new Class
this.onEraseClick (); this.onEraseClick ();
this.$('card').row = form.row; this.$('card').row = form.row;
this.$('card-item').value = form.get ('itemFk'); this.$('card-item').value = form.get ('id');
this.$('card-popup').show (button.node); this.$('card-popup').show (button.node);
} }

View File

@ -60,8 +60,8 @@
JOIN vn.itemType t ON t.id = i.typeFk JOIN vn.itemType t ON t.id = i.typeFk
WHERE #filter; WHERE #filter;
CALL bionic_calc; CALL bionic_calc;
SELECT i.id itemFk, i.description, b.available, b.price, SELECT i.id, i.description, i.image, i.name item, i.category, i.size,
b.producer, i.image, i.name item, i.category, i.size, b.producer, b.available, b.price,
IF(i.stems > 1, i.stems, NULL) stems, c.name color, o.name origin, IF(i.stems > 1, i.stems, NULL) stems, c.name color, o.name origin,
t.tag1, t.val1, t.tag2, t.val2, t.tag3, t.val3 t.tag1, t.val1, t.tag2, t.val2, t.tag3, t.val3
FROM tmp.bionic_item b FROM tmp.bionic_item b
@ -397,7 +397,7 @@
<htk-text form="card" column="producer"/> <htk-text form="card" column="producer"/>
</p> </p>
<p> <p>
@<htk-text form="card" column="itemFk"/> @<htk-text form="card" column="id"/>
</p> </p>
<p> <p>
<htk-text form="card" column="stems" format="_%.0d Units"/> <htk-text form="card" column="stems" format="_%.0d Units"/>

View File

@ -1,6 +1,6 @@
{ {
"name": "hedera-web", "name": "hedera-web",
"version": "1.405.83", "version": "1.405.84",
"description": "Verdnatura web page", "description": "Verdnatura web page",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {

View File

@ -27,9 +27,9 @@ fi
if [ -f "$srcDir/debian/changelog" ] if [ -f "$srcDir/debian/changelog" ]
then then
echo "Cleaning last build." echo "Cleaning last build."
rm -f "$buildDir/*.deb" rm -f $buildDir/*.deb
rm -f "$buildDir/*.changes" rm -f $buildDir/*.changes
rm -f "$buildDir/*.build" rm -f $buildDir/*.build
(cd "$srcDir" && debian/rules clean >> "$logFile") (cd "$srcDir" && debian/rules clean >> "$logFile")
echo "Building Debian packages." echo "Building Debian packages."