Bug 24418

Summary: Add Koha::Biblio->suggestions
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: Architecture, internals, and plumbingAssignee: Tomás Cohen Arazi <tomascohen>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: 1joynelson, martin.renvoize, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.05.00
Bug Depends on:    
Bug Blocks: 23990, 20212, 24419, 24430    
Attachments: Bug 24418: Unit tests
Bug 24418: Add Koha::Biblio->suggestions
Bug 24418: Add koha_object(s)_class methods to Suggestion
Bug 24418: Unit tests
Bug 24418: Add Koha::Biblio->suggestions
Bug 24418: Add koha_object(s)_class methods to Suggestion
Bug 24418: Unit tests
Bug 24418: Add Koha::Biblio->suggestions
Bug 24418: Add koha_object(s)_class methods to Suggestion
Bug 24418: Unit tests

Description Tomás Cohen Arazi 2020-01-14 13:04:14 UTC
We need an accessor for the related suggestions.
Comment 1 Tomás Cohen Arazi 2020-01-14 13:11:21 UTC Comment hidden (obsolete)
Comment 2 Tomás Cohen Arazi 2020-01-14 13:11:24 UTC
Created attachment 97350 [details] [review]
Bug 24418: Add Koha::Biblio->suggestions

This patch adds the mentioned accessor. To test:

1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 3 Tomás Cohen Arazi 2020-01-14 13:11:27 UTC
Created attachment 97351 [details] [review]
Bug 24418: Add koha_object(s)_class methods to Suggestion

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 4 Tomás Cohen Arazi 2020-01-14 13:34:10 UTC
Created attachment 97353 [details] [review]
Bug 24418: Unit tests

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 5 Kyle M Hall 2020-01-14 18:09:59 UTC
Created attachment 97365 [details] [review]
Bug 24418: Add Koha::Biblio->suggestions

This patch adds the mentioned accessor. To test:

1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 6 Kyle M Hall 2020-01-14 18:10:11 UTC
Created attachment 97366 [details] [review]
Bug 24418: Add koha_object(s)_class methods to Suggestion

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 7 Kyle M Hall 2020-01-14 18:10:13 UTC
Created attachment 97367 [details] [review]
Bug 24418: Unit tests

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 8 Martin Renvoize 2020-01-15 08:36:17 UTC
Created attachment 97382 [details] [review]
Bug 24418: Add Koha::Biblio->suggestions

This patch adds the mentioned accessor. To test:

1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 9 Martin Renvoize 2020-01-15 08:36:20 UTC
Created attachment 97383 [details] [review]
Bug 24418: Add koha_object(s)_class methods to Suggestion

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 10 Martin Renvoize 2020-01-15 08:36:24 UTC
Created attachment 97384 [details] [review]
Bug 24418: Unit tests

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 11 Martin Renvoize 2020-01-15 08:36:51 UTC
Simple clear code and passes qa scripts.. Passing QA
Comment 12 Martin Renvoize 2020-01-20 16:34:29 UTC
Nice work everyone!

Pushed to master for 20.05
Comment 13 Joy Nelson 2020-02-06 22:27:37 UTC
Enhancement not backported to 19.11.x