https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36956 Pedro Amorim <pedro.amorim@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167221|0 |1 is obsolete| | --- Comment #3 from Pedro Amorim <pedro.amorim@ptfs-europe.com> --- Created attachment 167933 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167933&action=edit Bug 36956: Allow all providers to be displayed in reports This patch fixes an incorrect usage of the API which was only returning 20 results. Test plan: 1) Go to ERM module and make sure you have more than 20 data providers stored in your database. 1) (Optional) Run the following command (k-t-d) to create 21 data providers: perl -MKoha::Database -e ' my $schema = Koha::Database->schema; $schema->resultset("ErmUsageDataProvider")->create({ name => "name ".$_ }) for (1..21) ' 2) Go to eUsage / reports and create new report (cgi-bin/koha/erm/eusage/reports) 3) Check that only the first 20 data providers are displayed in the drop down 4) Apply patch 5) yarn build or reset_all to rebuild the javascript 6) Repeat steps 1-3, all providers should now be displayed PA amended patch: Updated commit message test plan Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.