Rationnalisation param GET
This commit is contained in:
parent
0206238b23
commit
f3fd16615f
7 changed files with 18 additions and 16 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
|
||||
|
||||
{{#load key=$_GET.id}}
|
||||
{{#load key=$_GET.key}}
|
||||
{{:assign cat_name=$name}}
|
||||
{{/load}}
|
||||
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
{{#list
|
||||
select="$$.designation AS 'Désignation'; '' AS 'Stock' ; '' AS 'Sortie' ; '' AS 'Disponible'"
|
||||
type="equipment"
|
||||
category=$_GET.id
|
||||
category=$_GET.key
|
||||
order=1}}
|
||||
|
||||
{{:assign equipment_key=$key}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue