https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30747

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|Signed Off                  |Failed QA

--- Comment #3 from Marcel de Rooy <[email protected]> ---
            var ids = ['holdings_table', 'otherholdings_table'];
            var table_settings = [ [%
TablesSettings.GetTableSettings('catalogue', 'detail','holdings_table','json')
| $raw %], [% TablesSettings.GetTableSettings('catalogue',
'detail','otherholdings_table','json')  | $raw %] ];
            var has_images = ["[% itemloop_has_images | html %]", "[%
otheritemloop_has_images | html %]"];
            for (var i in ids) {
                var id = ids[i];

This code does not look good to me.
Note: for...in should not be used to iterate over an Array where the index
order is important.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to