Bug 14778: Make Search.t pass - replace SHOW COLUMNS
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Oct 2015 13:59:06 +0000 (13:59 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 26 Oct 2015 14:01:33 +0000 (11:01 -0300)
commit9dde8c1632983606f6ffac8a23314a3885473ba9
treed30b72e56e0cddc43d280544cd79d2d885157725
parent9c3efeaab70ef25f834e4f9ffd1765d0e1bd1c53
Bug 14778: Make Search.t pass - replace SHOW COLUMNS

For an unkown reason, when executed from a test file, the 'SHOW COLUMNS'
statement does not return anything.
We need to retrieve the column list from the DBIx::Class resultset.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Search.pm