[Koha-bugs] [Bug 36392] New: Only 20 vendors in ERM dropdown

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 21 20:55:49 CET 2024


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

            Bug ID: 36392
           Summary: Only 20 vendors in ERM dropdown
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: ERM
          Assignee: jonathan.druart at gmail.com
          Reporter: caroline.cyr-la-rose at inlibro.com
                CC: jonathan.druart at gmail.com,
                    jonathan.field at ptfs-europe.com,
                    martin.renvoize at ptfs-europe.com,
                    matt.blenkinsop at ptfs-europe.com,
                    pedro.amorim at ptfs-europe.com

When there are more than 20 vendors in acquisitions, only 20 appear in the New
agreement dropdown list.

To recreate:
1. Enable the ERMModule system preference
2. In Acquisitions, create more than 20 vendors (see below for an sql insert
that I used)
3. Go to E-resource management > Agreements > New agreement
4. Open the vendor dropdown
   --> It stops at Sierra (or the 20th vendor if you created your own)
5. Type "Tango" or "Zulu" (or one of the names of your 21st+ vendor)
   --> No results

This is what I used to create all the vendors

INSERT INTO aqbooksellers (name,active) VALUES ('Alpha','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Bravo','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Charlie','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Delta','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Echo','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Foxtrot','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Golf','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Hotel','1');
INSERT INTO aqbooksellers (name,active) VALUES ('India','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Juliet','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Kilo','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Lima','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Mike','1');
INSERT INTO aqbooksellers (name,active) VALUES ('November','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Oscar','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Papa','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Quebec','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Romeo','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Sierra','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Tango','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Uniform','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Victor','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Whiskey','1');
INSERT INTO aqbooksellers (name,active) VALUES ('X-Ray','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Yankee','1');
INSERT INTO aqbooksellers (name,active) VALUES ('Zulu','1');

Paul D. pointed me to the RESTdefaultPageSize system preference which does
affect the dropdown. If I change the syspref to 50, I can see all the vendors
in the dropdown. The problem with this is that I'm not sure what else this
syspref affects. I have a client with 674 vendors, I don't want to put 1000 in
the syspref and then somewhere else something takes forever to load because of
this.

I'm not sure what is happening here. I found bug 32474 and bug 32468 that seem
to deal with this and that are marked as fixed, but I don't see the correct
behaviour in ktd with master. I hope someone else can confirm or invalidate
this...

The client who pointed this out to me (the one with 674 vendors) is on
23.05.05, which already has the patches from bug 32468.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list