Bug 24149

Summary: Add new Koha::Statistic[s] classes
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Josef Moravec <josef.moravec>
Severity: enhancement    
Priority: P5 - low CC: 1joynelson, black23, josef.moravec, martin.renvoize
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.05.00
Bug Depends on:    
Bug Blocks: 24151    
Attachments: Bug 24149: Add Koha::Statistic[s] classes
Bug 24149: Add Koha::Statistic->item
Bug 24149: Add tests
Bug 24149: Add tests
Bug 24149: Add Koha::Statistic[s] classes
Bug 24149: Add Koha::Statistic->item
Bug 24149: Add tests
Bug 24149: (QA follow-up) Add pod for Koha::Statistics->object_class
Bug 24149: Skip Koha::Statistics for TestBuilder tests

Description Jonathan Druart 2019-12-03 15:43:32 UTC

    
Comment 1 Jonathan Druart 2019-12-03 16:41:35 UTC
Created attachment 95956 [details] [review]
Bug 24149: Add Koha::Statistic[s] classes

Sponsored-by: Association KohaLa - https://koha-fr.org/
Comment 2 Jonathan Druart 2019-12-03 16:41:49 UTC
Created attachment 95957 [details] [review]
Bug 24149: Add Koha::Statistic->item

Sponsored-by: Association KohaLa - https://koha-fr.org/
Comment 3 Jonathan Druart 2019-12-03 16:42:03 UTC
Created attachment 95958 [details] [review]
Bug 24149: Add tests
Comment 4 Jonathan Druart 2019-12-03 16:43:51 UTC
We are just adding new Koha::Statistic[s] classes (with tests) in case someone would need them.

They will be used by bug 24151.
Comment 5 Jonathan Druart 2020-01-11 16:40:42 UTC
Created attachment 97239 [details] [review]
Bug 24149: Add tests
Comment 6 Josef Moravec 2020-01-23 05:51:47 UTC
Created attachment 97776 [details] [review]
Bug 24149: Add Koha::Statistic[s] classes

Sponsored-by: Association KohaLa - https://koha-fr.org/

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 7 Josef Moravec 2020-01-23 05:51:52 UTC
Created attachment 97777 [details] [review]
Bug 24149: Add Koha::Statistic->item

Sponsored-by: Association KohaLa - https://koha-fr.org/

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 8 Josef Moravec 2020-01-23 05:51:59 UTC
Created attachment 97778 [details] [review]
Bug 24149: Add tests

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 9 Josef Moravec 2020-01-23 05:52:04 UTC
Created attachment 97779 [details] [review]
Bug 24149: (QA follow-up) Add pod for Koha::Statistics->object_class

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 10 Martin Renvoize 2020-01-23 10:36:09 UTC
Nice work everyone!

Pushed to master for 20.05
Comment 11 Jonathan Druart 2020-01-24 08:45:31 UTC
Created attachment 97858 [details] [review]
Bug 24149: Skip Koha::Statistics for TestBuilder tests

As statistics does not have a PK we need to adjust the TestBuilder
tests.
Bug 18441 already exists for adding the PK.
Comment 12 Martin Renvoize 2020-01-24 08:48:11 UTC
Followup pushed, thanks Jonathan
Comment 13 Joy Nelson 2020-02-06 23:26:38 UTC
enhancement not backported to 19.11