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

--- Comment #1 from Matt Blenkinsop <[email protected]> ---
Created attachment 206149
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206149&action=edit
Bug 43536: Search for the specific resource type when retrieving additional
fields

Previously all types for the module were retrieved and then filtered using
'CONTAINS' logic. This meant that when retreiving agreement_period fields, any
agreement fields would also satisfy that CONTAINS match.

Test plan:
1. Add an additional field for Agreement periods
   1.1. Go to Administration > Additional fields
   1.2. Click "Agreement periods (erm_agreement_periods)"
   1.3. Click "New field"
   1.4. Enter the name "Agreement period additional field"
   1.5. Click "Save"

2. Add an additional field for Agreements
   2.1. Go to Administration > Additional fields
   2.2. Click "Agreements (erm_agreements)"
   2.3. Click "New field"
   2.4. Enter the name "Agreements additional field"
   2.5. Click "Save"

3. Enable the ERM module
   3.1. Go to Administration > System preferences
   3.2. Search for ERMModule
   3.3. Set ERMModule to Enable
   3.4. Click Save all E-resource management preferences

4. Add an agreement
   4.1. Go to E-resource management > Agreements
   4.2. Click "New agreement"
        --> Note that in the first section, only agreement additional fields
are displayed
   4.3. Click "Add new period"
        --> The additional field for agreement periods is displayed

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to