diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
index b503079701..3189db0288 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
@@ -750,12 +750,11 @@
Details from supplier ([% request.backend | html %])
- [% FOREACH meta IN request.metadata.keys.sort('lower') %]
- [% val = request.metadata.${meta} %]
- [% IF val %]
- -
- [% meta.replace('_',' ') | html %]:
- [% val | html %]
+ [% FOREACH meta IN request.metadata %]
+ [% IF meta.value.defined && meta.value.length %]
+
-
+ [% meta.key.replace('_',' ') | html %]:
+ [% meta.value | html %]
[% END %]
[% END %]