[Bug 30055] New: Rewrite patron searches to make them use the REST API routes
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Bug ID: 30055 Summary: Rewrite patron searches to make them use the REST API routes Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Patrons Assignee: jonathan.druart+koha@gmail.com Reporter: jonathan.druart+koha@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=29125 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29844 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29844 [Bug 29844] Remove uses of wantarray in Koha::Objects -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29136 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29136 [Bug 29136] Patron search on request.pl has performance and display issues -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=1707 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@libriotech.no --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- *** Bug 22316 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cbrannon@cdalibrary.org --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- *** Bug 27912 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |29509 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29509 [Bug 29509] GET /patrons* routes permissions excessive -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30058 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30058 [Bug 30058] Add a Koha::Patrons method to filter by permissions -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30059 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30059 [Bug 30059] Add a JS equivalent to Koha::Patron->get_age -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30060 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30060 [Bug 30060] Missing primary key on user_permissions -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #3 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130364 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130364&action=edit Bug 30055: Make patron searches use the REST API This patch will rewrite some of our patron searches to make them use the REST API routes (and so the powerful the DataTables wrapper which will bring all the nice DT feature to filter, sort, etc.) The patron searches we will take into account here are those that we use to select a patron in a pop-up: * Guarantor * Suggestion's manager * Patron's card * Serial routing list * Users to notify when order is received * Manager of an acquisition basket * Owner and users of a fund Regarding permissions there are two main problematics: * Filter a patron set by patrons having a specific subpermissions (in case of adding a manager to a suggestion or when we deal with acquisition and funds). We added a new Koha::Patrons->filter_by_have_subpermission method that will take in parameter a subpermission. To make thing transparent for the callers we are adding new routes, like /suggestions/managers to list the possible managers of suggestions. * Restrict/allow access to the default patron searches /patrons We need to access it when a logged in patron does not have borrowers permission. Ideally we need a separate "search_borrowers" subpermissions but it's considered outside the scope of this change. For each patch you will take care of testing the different permissions that are into effect (either for the logged in patron or the patrons returned by the search). The tables should contain the same columns as prior to this patch, except for "categories" and "library". We have the filter on top of the page and so we need to add them to the table as new columns if they weren't there before. Test plan (for this patch): Search for guarantor and select Test plan (for all patches): Add/Select patrons from the correct place where you can search for patrons, play extensively with the filters/pagination/etc Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #4 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130365 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130365&action=edit Bug 30055: Use /api/v1/suggestions/managers to list managers or suggestions Test plan: Select a manager for a suggestion Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #5 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130366 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130366&action=edit Bug 30055: Use /patrons for patron's cards Test plan: Create a new card batch and add new borrowernumber using the "Add patron(s)" button. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #6 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130367 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130367&action=edit Bug 30055: Use /patrons for routing list Test plan: Add new users to a serial routing list Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #7 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130368 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130368&action=edit Bug 30055: Use /patrons for neworderempty Test plan: Create or edit an order, add users to notify on receiving Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130369 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130369&action=edit Bug 30055: Use /acquisitions/baskets/managers for basket's manager Test plan: Add a manager to a basket Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #9 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130370 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130370&action=edit Bug 30055: /api/v1/acquisitions/funds/owners and users for funds Two new routes that do the same thing /api/v1/acquisitions/funds/owners /api/v1/acquisitions/funds/users To list the possible owners and users for a fund Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #10 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130371 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130371&action=edit Bug 30055: Adjust hint about permissions Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|29136 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29136 [Bug 29136] Patron search on request.pl has performance and display issues -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Rewrite patron searches to |Rewrite some of the patron |make them use the REST API |searches to make them use |routes |the REST API routes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com, | |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #11 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Tests are missing for the new API routes. I can provide them (even if they will be dumb), but I'd like to make sure you won't make me rewrite the whole thing before... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #12 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130372 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130372&action=edit Bug 30055: Prevent blink when page is loading -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30063 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30063 [Bug 30063] Make the main patron search use the /patrons REST API route -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |ASSIGNED --- Comment #13 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Hum, found something here. I removed the "patron_preview" thing. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130364|0 |1 is obsolete| | Attachment #130365|0 |1 is obsolete| | Attachment #130366|0 |1 is obsolete| | Attachment #130367|0 |1 is obsolete| | Attachment #130368|0 |1 is obsolete| | Attachment #130369|0 |1 is obsolete| | Attachment #130370|0 |1 is obsolete| | Attachment #130371|0 |1 is obsolete| | Attachment #130372|0 |1 is obsolete| | --- Comment #14 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130385 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130385&action=edit Bug 30055: Make patron searches use the REST API This patch will rewrite some of our patron searches to make them use the REST API routes (and so the powerful the DataTables wrapper which will bring all the nice DT feature to filter, sort, etc.) The patron searches we will take into account here are those that we use to select a patron in a pop-up: * Guarantor * Suggestion's manager * Patron's card * Serial routing list * Users to notify when order is received * Manager of an acquisition basket * Owner and users of a fund Regarding permissions there are two main problematics: * Filter a patron set by patrons having a specific subpermissions (in case of adding a manager to a suggestion or when we deal with acquisition and funds). We added a new Koha::Patrons->filter_by_have_subpermission method that will take in parameter a subpermission. To make thing transparent for the callers we are adding new routes, like /suggestions/managers to list the possible managers of suggestions. * Restrict/allow access to the default patron searches /patrons We need to access it when a logged in patron does not have borrowers permission. Ideally we need a separate "search_borrowers" subpermissions but it's considered outside the scope of this change. For each patch you will take care of testing the different permissions that are into effect (either for the logged in patron or the patrons returned by the search). The tables should contain the same columns as prior to this patch, except for "categories" and "library". We have the filter on top of the page and so we need to add them to the table as new columns if they weren't there before. Test plan (for this patch): Search for guarantor and select Test plan (for all patches): Add/Select patrons from the correct place where you can search for patrons, play extensively with the filters/pagination/etc Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #15 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130386 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130386&action=edit Bug 30055: Use /api/v1/suggestions/managers to list managers or suggestions Test plan: Select a manager for a suggestion Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #16 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130387 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130387&action=edit Bug 30055: Use /patrons for patron's cards Test plan: Create a new card batch and add new borrowernumber using the "Add patron(s)" button. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #17 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130388 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130388&action=edit Bug 30055: Use /patrons for routing list Test plan: Add new users to a serial routing list Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #18 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130389 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130389&action=edit Bug 30055: Use /patrons for neworderempty Test plan: Create or edit an order, add users to notify on receiving Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #19 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130390 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130390&action=edit Bug 30055: Use /acquisitions/baskets/managers for basket's manager Test plan: Add a manager to a basket Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #20 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130391 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130391&action=edit Bug 30055: /api/v1/acquisitions/funds/owners and users for funds Two new routes that do the same thing /api/v1/acquisitions/funds/owners /api/v1/acquisitions/funds/users To list the possible owners and users for a fund Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #21 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130392 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130392&action=edit Bug 30055: Adjust hint about permissions Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #22 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130393 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130393&action=edit Bug 30055: Prevent blink when page is loading -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #23 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130394 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130394&action=edit Bug 30055: Restore patron's preview links -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #24 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130395 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130395&action=edit Bug 30055: Add missing include to format addresses -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #25 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #11)
Tests are missing for the new API routes. I can provide them (even if they will be dumb), but I'd like to make sure you won't make me rewrite the whole thing before...
I find this implementation lovely. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30074 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30074 [Bug 30074] Missing extended_attributes relationship in DBIC schema -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #26 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I'm on board too, great work Jonathan! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #27 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130457 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130457&action=edit Bug 30055: Put extended attributes search back Last patches remove the ability to search on extended attributes. C4::Utils::DataTables::Members::search is searching on all the attributes that are flagged as "searchable", we want to keep this behaviour. I have tried several things and this is the simplest I have found. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #28 from Fridolin Somers <fridolin.somers@biblibre.com> --- Great enhancement, more API \o/ -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Bug 30055 depends on bug 29844, which changed state. Bug 29844 Summary: Remove uses of wantarray in Koha::Objects https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29844 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #29 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Hmm, right now I'm getting 404's on the API requests in my testing.. continuing to investigate. Couple of comments to get us started though.. * It might be nice to enable `"header_filter": true,` on the kohaTable.. the URL's are pretty crazy to read without it. * Was it a deliberate choice to use 'add_filters'.. for the guarantor search at least, this is a change and I'm not sure it makes sense to have the both sets of filters visible at the same time in the popup window? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #30 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Also, could we get a little update for the jsdoc for kohaTable for the changes/enhancements you've made.. especially the signature update for default_filters? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #31 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130487 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130487&action=edit Bug 30055: Add missing spec file for baskets -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #32 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130488 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130488&action=edit Bug 30055: Fix when there is no searchable attr type No idea why we need that. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #33 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130491 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130491&action=edit Bug 30055: Missing search on othernames -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #34 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130507 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130507&action=edit Bug 30055: Restore DefaultPatronSearchFields and fix extended attrs search We lost the DefaultPatronSearchFields behaviour, we don't want to search on all data but only DefaultPatronSearchFields -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #35 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Martin Renvoize from comment #29)
Hmm, right now I'm getting 404's on the API requests in my testing.. continuing to investigate.
Couple of comments to get us started though..
* It might be nice to enable `"header_filter": true,` on the kohaTable.. the URL's are pretty crazy to read without it.
Not strongly attached to that. Could switch to header_filter if your prefer.
* Was it a deliberate choice to use 'add_filters'.. for the guarantor search at least, this is a change and I'm not sure it makes sense to have the both sets of filters visible at the same time in the popup window?
Yes, that's definitely a deliberate choice. The idea is to keep the same filters as before on top of the table, but provide a way to refine the search with the column's filters. I would like to have the same behaviour/UI on all patrons search. You also noticed the "Browse by last name" that will be there as well. (In reply to Martin Renvoize from comment #30)
Also, could we get a little update for the jsdoc for kohaTable for the changes/enhancements you've made.. especially the signature update for default_filters?
Yep, I was waiting for the other bug follow-ups and feedbacks to make sure it's the correct way to accomplish that. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130491|0 |1 is obsolete| | --- Comment #36 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130511 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130511&action=edit Bug 30055: Missing search on othernames -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30093 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30093 [Bug 30093] Rewrite some of the patron searches when placing a hold with the REST API route -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|30063 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30063 [Bug 30063] Make the main patron search use the /patrons REST API route -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Christopher Brannon <cbrannon@cdalibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|cbrannon@cdalibrary.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|30093 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30093 [Bug 30093] Rewrite the patron search when placing a hold with the REST API route -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30093 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30093 [Bug 30093] Rewrite the patron search when placing a hold with the REST API route -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #37 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 130629 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130629&action=edit Bug 30055: (follow-up) Increase popup window size With the required addition of fields to the displayed result table, we need to increase the size of the popover window to prevent horizontal scrolling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #38 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 130630 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130630&action=edit Bug 30055: (follow-up) Clarify 'AND' logic -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #39 from Owen Leonard <oleonard@myacpl.org> --- When I test searches which are limited to staff users I get an error: "Embedding objects is not allowed on this endpoint." -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #40 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Owen Leonard from comment #39)
When I test searches which are limited to staff users I get an error: "Embedding objects is not allowed on this endpoint."
Yes, it's the last patch that is causing problems. I am obsoleting it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130630|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #41 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 130671 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130671&action=edit Bug 30055: (follow-up) Add missing embed in fund owners -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #42 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 130672 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130672&action=edit Bug 30055: (follow-up) Add missing embeds This patch add the missing extended_attributes embed for /funds/owners, /funds/users and /suggestions/managers -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130671|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130630|1 |0 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #43 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Jonathan Druart from comment #40)
(In reply to Owen Leonard from comment #39)
When I test searches which are limited to staff users I get an error: "Embedding objects is not allowed on this endpoint."
Yes, it's the last patch that is causing problems. I am obsoleting it.
To clarify, this patch was not causing Owen's issue. However I found yesterday: https://snipboard.io/3eYNEw.jpg I am searching for "sss" which I know return 1 result (from extended attribute) then I filter general on "ed" => still one result => all good then: https://snipboard.io/HYJyuU.jpg I am adding "ed" to filter on surname It should NOT change anything in the result set, as "Edna" contains "ed" but it does not returning anything If I am continuing to play, I am getting a 500 at some point (don't know exactly from which point it happened) the 500 is: GET /api/v1/patrons: unhandled exception (DBIx::Class::Exception)<<SQL::Abstract::puke(): [SQL::Abstract::__ANON__] Fatal: Supplying an empty left hand side argument is not supported. in array-pairs at /usr/share/perl5/Data/Page.pm line 49>> Koha::REST::Plugin::Exceptions::__ANON__ /kohadevbox/koha/Koha/REST/Plugin/Exceptions.pm (73)... So the query is badly construct. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #44 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- (In reply to Jonathan Druart from comment #43)
(In reply to Jonathan Druart from comment #40)
(In reply to Owen Leonard from comment #39)
When I test searches which are limited to staff users I get an error: "Embedding objects is not allowed on this endpoint."
Yes, it's the last patch that is causing problems. I am obsoleting it.
To clarify, this patch was not causing Owen's issue. However I found yesterday:
https://snipboard.io/3eYNEw.jpg I am searching for "sss" which I know return 1 result (from extended attribute) then I filter general on "ed" => still one result => all good
then: https://snipboard.io/HYJyuU.jpg I am adding "ed" to filter on surname It should NOT change anything in the result set, as "Edna" contains "ed" but it does not returning anything If I am continuing to play, I am getting a 500 at some point (don't know exactly from which point it happened) the 500 is: GET /api/v1/patrons: unhandled exception (DBIx::Class::Exception)<<SQL::Abstract::puke(): [SQL::Abstract::__ANON__] Fatal: Supplying an empty left hand side argument is not supported. in array-pairs at /usr/share/perl5/Data/Page.pm line 49>> Koha::REST::Plugin::Exceptions::__ANON__ /kohadevbox/koha/Koha/REST/Plugin/Exceptions.pm (73)... So the query is badly construct.
I can't replicate these issues -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #45 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Martin Renvoize from comment #44)
I can't replicate these issues
Well, it's very easy to recreate. Create a new fresh ktd or use a sandbox, then add a guarantor: https://snipboard.io/bAUyDn.jpg remove "ed" from "Name" => you get "edna" Adding "ed" in Name should NOT remove Edna from the result list! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130630|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #46 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Jonathan Druart from comment #45)
(In reply to Martin Renvoize from comment #44)
I can't replicate these issues
Well, it's very easy to recreate. Create a new fresh ktd or use a sandbox, then add a guarantor: https://snipboard.io/bAUyDn.jpg
remove "ed" from "Name" => you get "edna" Adding "ed" in Name should NOT remove Edna from the result list!
tl;dr; version of the discussion on the chat: the version *without* Martin's patch has this bug as well... Yesterday the test I made was with search a pattern matching an extended attribute in the "main search", but that is not working either. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #47 from Nick Clemens <nick@bywatersolutions.com> --- When limiting search via the table filters, dropdowns should be filtered on equality, not contains. To recreate: search for '%' in the search to return all patrons use category dropdown to limit to 'Patron' - works use category dropdown to limit to 'Teacher' - fail - you see 'Patron' and 'Student' categories because they contain 'T' - the code for 'Teacher' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130672|0 |1 is obsolete| | --- Comment #48 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130701 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130701&action=edit Bug 30055: (follow-up) Add missing embeds -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #49 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130702 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130702&action=edit Bug 30055: Force exact match for dropdown For libraries and categories we need to use an exact match. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #50 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Nick Clemens from comment #47)
When limiting search via the table filters, dropdowns should be filtered on equality, not contains.
To recreate: search for '%' in the search to return all patrons use category dropdown to limit to 'Patron' - works use category dropdown to limit to 'Teacher' - fail - you see 'Patron' and 'Student' categories because they contain 'T' - the code for 'Teacher'
Thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #51 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Jonathan Druart from comment #49)
Created attachment 130702 [details] [review] Bug 30055: Force exact match for dropdown
For libraries and categories we need to use an exact match.
This patch is a bit awkward, feel free to suggest a better alternative if you found one! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #52 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130704 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130704&action=edit Bug 30055: Don't hardcode the default sort column At this point it does not change anything, all calls to members/search.pl has "name" in second column, but that will be helpful in follow-up bugs. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130702|0 |1 is obsolete| | --- Comment #53 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130716 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130716&action=edit Bug 30055: Force exact match for dropdown For libraries and categories we need to use an exact match. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130716|0 |1 is obsolete| | --- Comment #54 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130717 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130717&action=edit Bug 30055: Force exact match for dropdown For libraries and categories we need to use an exact match. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Bug 30055 depends on bug 30074, which changed state. Bug 30074 Summary: Missing extended_attributes relationship in DBIC schema https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30074 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Bug 30055 depends on bug 30060, which changed state. Bug 30060 Summary: Missing primary key on user_permissions https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30060 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #55 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #51)
(In reply to Jonathan Druart from comment #49)
Created attachment 130702 [details] [review] [review] Bug 30055: Force exact match for dropdown
For libraries and categories we need to use an exact match.
This patch is a bit awkward, feel free to suggest a better alternative if you found one!
What you really want is bug 29302, don't you? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #56 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Tomás Cohen Arazi from comment #55)
(In reply to Jonathan Druart from comment #51)
(In reply to Jonathan Druart from comment #49)
Created attachment 130702 [details] [review] [review] [review] Bug 30055: Force exact match for dropdown
For libraries and categories we need to use an exact match.
This patch is a bit awkward, feel free to suggest a better alternative if you found one!
What you really want is bug 29302, don't you?
I don't think so. Here we are syncing the form with the DT filters when the form is submitted. We are not initializing the table. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130717|0 |1 is obsolete| | --- Comment #57 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 131829 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131829&action=edit Bug 30055: Force exact match for dropdown For libraries and categories we need to use an exact match. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #58 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 132168 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132168&action=edit Bug 30055: clear the column filter if none selected ie. search for "", not "^$" -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Bug 30055 depends on bug 30058, which changed state. Bug 30058 Summary: Add a Koha::Patrons method to filter by permissions https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30058 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Bug 30055 depends on bug 30059, which changed state. Bug 30059 Summary: Add a JS equivalent to Koha::Patron->get_age https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30059 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #59 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Ok, I tested again, in the suggestions page: - First time I entered a search for 'a' it didn't show my own user, couldn't reproduce but worth mentioning - When you choose your own user, it is described as 'null koha' instead of the original 'You' that is displayed when you enter the page. - Missing tests for the routes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #60 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Tomás Cohen Arazi from comment #59)
Ok, I tested again, in the suggestions page: - When you choose your own user, it is described as 'null koha' instead of the original 'You' that is displayed when you enter the page.
This is already the case in master, nevermind. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30393 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30394 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130457|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130488|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130629|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132168|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130487|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130701|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130511|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130704|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130385|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130386|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130387|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130388|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130389|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130390|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130391|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130392|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130393|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130394|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130395|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130507|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #131829|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #61 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132419 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132419&action=edit Bug 30055: Make patron searches use the REST API This patch will rewrite some of our patron searches to make them use the REST API routes (and so the powerful the DataTables wrapper which will bring all the nice DT feature to filter, sort, etc.) The patron searches we will take into account here are those that we use to select a patron in a pop-up: * Guarantor * Suggestion's manager * Patron's card * Serial routing list * Users to notify when order is received * Manager of an acquisition basket * Owner and users of a fund Regarding permissions there are two main problematics: * Filter a patron set by patrons having a specific subpermissions (in case of adding a manager to a suggestion or when we deal with acquisition and funds). We added a new Koha::Patrons->filter_by_have_subpermission method that will take in parameter a subpermission. To make thing transparent for the callers we are adding new routes, like /suggestions/managers to list the possible managers of suggestions. * Restrict/allow access to the default patron searches /patrons We need to access it when a logged in patron does not have borrowers permission. Ideally we need a separate "search_borrowers" subpermissions but it's considered outside the scope of this change. For each patch you will take care of testing the different permissions that are into effect (either for the logged in patron or the patrons returned by the search). The tables should contain the same columns as prior to this patch, except for "categories" and "library". We have the filter on top of the page and so we need to add them to the table as new columns if they weren't there before. Test plan (for this patch): Search for guarantor and select Test plan (for all patches): Add/Select patrons from the correct place where you can search for patrons, play extensively with the filters/pagination/etc Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #62 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132420 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132420&action=edit Bug 30055: Use /api/v1/suggestions/managers to list managers or suggestions Test plan: Select a manager for a suggestion Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #63 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132421 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132421&action=edit Bug 30055: Use /patrons for patron's cards Test plan: Create a new card batch and add new borrowernumber using the "Add patron(s)" button. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #64 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132422 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132422&action=edit Bug 30055: Use /patrons for routing list Test plan: Add new users to a serial routing list Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #65 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132423 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132423&action=edit Bug 30055: Use /patrons for neworderempty Test plan: Create or edit an order, add users to notify on receiving Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #66 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132424 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132424&action=edit Bug 30055: Use /acquisitions/baskets/managers for basket's manager Test plan: Add a manager to a basket Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #67 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132425 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132425&action=edit Bug 30055: /api/v1/acquisitions/funds/owners and users for funds Two new routes that do the same thing /api/v1/acquisitions/funds/owners /api/v1/acquisitions/funds/users To list the possible owners and users for a fund Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #68 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132426 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132426&action=edit Bug 30055: Adjust hint about permissions Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #69 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132427 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132427&action=edit Bug 30055: Prevent blink when page is loading Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #70 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132428 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132428&action=edit Bug 30055: Restore patron's preview links Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #71 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132429 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132429&action=edit Bug 30055: Add missing include to format addresses Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #72 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132430 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132430&action=edit Bug 30055: Put extended attributes search back Last patches remove the ability to search on extended attributes. C4::Utils::DataTables::Members::search is searching on all the attributes that are flagged as "searchable", we want to keep this behaviour. I have tried several things and this is the simplest I have found. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #73 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132431 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132431&action=edit Bug 30055: Add missing spec file for baskets Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #74 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132432 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132432&action=edit Bug 30055: Fix when there is no searchable attr type No idea why we need that. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #75 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132433 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132433&action=edit Bug 30055: Restore DefaultPatronSearchFields and fix extended attrs search We lost the DefaultPatronSearchFields behaviour, we don't want to search on all data but only DefaultPatronSearchFields Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #76 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132434 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132434&action=edit Bug 30055: Missing search on othernames Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #77 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132435 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132435&action=edit Bug 30055: (follow-up) Increase popup window size With the required addition of fields to the displayed result table, we need to increase the size of the popover window to prevent horizontal scrolling. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #78 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132436 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132436&action=edit Bug 30055: (follow-up) Add missing embeds Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #79 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132437 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132437&action=edit Bug 30055: Don't hardcode the default sort column At this point it does not change anything, all calls to members/search.pl has "name" in second column, but that will be helpful in follow-up bugs. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #80 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132438 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132438&action=edit Bug 30055: Force exact match for dropdown For libraries and categories we need to use an exact match. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #81 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132439 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132439&action=edit Bug 30055: clear the column filter if none selected ie. search for "", not "^$" Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #82 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132440 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132440&action=edit Bug 30055: (QA follow-up) Minor QA fixes Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #83 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132441 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132441&action=edit Bug 30055: API unit tests Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #84 from Tomás Cohen Arazi <tomascohen@gmail.com> --- All good so far. I learned why column search is important for big sites (thanks Severine). There's a false positive in the QA tools -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA CC| |severine.queune@bulac.fr --- Comment #85 from Séverine Queune <severine.queune@bulac.fr> --- About guarantor page (I'm not used to this functionality so I hope I use it correctly and tested it as expected) : 1) I love the big popup ! 2) I was surprised by the content of the table, as I expected something unified with the table in '-members-home.pl page, but it's not 3) Address is much bigger than the other informations, font-size should probably be set at 100% instead of 110% 4) Resetting a dropdown menu fails on new search. To reproduce : select a library or category in the dropdown and search ; reset the menu to 'Any' and search : results stay the same. Use 'Clear' option and launch a new search using 'Any' : results stay the same as initial search. About Suggestion's manager + Patron's card + Serial routing list + Users to notify when order is received + Owner and users of a fund pages : 5) I regret the pop-up isn't a big one as for guarantor (see point 1) : you have to scroll to see results which is not really a user-friendly thing. I opened a new bug for that. 6) same as point 4) 7) I also have the same search 'issues' described on bug 30063 for special signs (point 3) and search not correctly applied (point 4) About Manager of an acquisition basket : 8) I can't get any results whatever the permissions I set for different users (order_manage, order_manage_all, superlibrarian) Note that I tested as a superlibrairian user but didn't try with simple user permissions. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30194 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30194 [Bug 30194] Update required JSON::Validator version -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132419|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132420|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132421|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132422|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132423|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132424|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132425|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132426|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132427|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132428|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132429|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132430|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132431|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132432|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132433|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132434|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132435|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132436|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132437|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132438|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132439|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132440|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132441|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #86 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132450 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132450&action=edit Bug 30055: Make patron searches use the REST API This patch will rewrite some of our patron searches to make them use the REST API routes (and so the powerful the DataTables wrapper which will bring all the nice DT feature to filter, sort, etc.) The patron searches we will take into account here are those that we use to select a patron in a pop-up: * Guarantor * Suggestion's manager * Patron's card * Serial routing list * Users to notify when order is received * Manager of an acquisition basket * Owner and users of a fund Regarding permissions there are two main problematics: * Filter a patron set by patrons having a specific subpermissions (in case of adding a manager to a suggestion or when we deal with acquisition and funds). We added a new Koha::Patrons->filter_by_have_subpermission method that will take in parameter a subpermission. To make thing transparent for the callers we are adding new routes, like /suggestions/managers to list the possible managers of suggestions. * Restrict/allow access to the default patron searches /patrons We need to access it when a logged in patron does not have borrowers permission. Ideally we need a separate "search_borrowers" subpermissions but it's considered outside the scope of this change. For each patch you will take care of testing the different permissions that are into effect (either for the logged in patron or the patrons returned by the search). The tables should contain the same columns as prior to this patch, except for "categories" and "library". We have the filter on top of the page and so we need to add them to the table as new columns if they weren't there before. Test plan (for this patch): Search for guarantor and select Test plan (for all patches): Add/Select patrons from the correct place where you can search for patrons, play extensively with the filters/pagination/etc Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #87 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132451 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132451&action=edit Bug 30055: Use /api/v1/suggestions/managers to list managers or suggestions Test plan: Select a manager for a suggestion Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #88 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132452 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132452&action=edit Bug 30055: Use /patrons for patron's cards Test plan: Create a new card batch and add new borrowernumber using the "Add patron(s)" button. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #89 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132453 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132453&action=edit Bug 30055: Use /patrons for routing list Test plan: Add new users to a serial routing list Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #90 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132454 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132454&action=edit Bug 30055: Use /patrons for neworderempty Test plan: Create or edit an order, add users to notify on receiving Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #91 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132455 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132455&action=edit Bug 30055: Use /acquisitions/baskets/managers for basket's manager Test plan: Add a manager to a basket Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #92 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132456 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132456&action=edit Bug 30055: /api/v1/acquisitions/funds/owners and users for funds Two new routes that do the same thing /api/v1/acquisitions/funds/owners /api/v1/acquisitions/funds/users To list the possible owners and users for a fund Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #93 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132457 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132457&action=edit Bug 30055: Adjust hint about permissions Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #94 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132458 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132458&action=edit Bug 30055: Prevent blink when page is loading Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #95 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132459 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132459&action=edit Bug 30055: Restore patron's preview links Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #96 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132460 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132460&action=edit Bug 30055: Add missing include to format addresses Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #97 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132461 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132461&action=edit Bug 30055: Put extended attributes search back Last patches remove the ability to search on extended attributes. C4::Utils::DataTables::Members::search is searching on all the attributes that are flagged as "searchable", we want to keep this behaviour. I have tried several things and this is the simplest I have found. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #98 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132462 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132462&action=edit Bug 30055: Add missing spec file for baskets Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #99 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132463 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132463&action=edit Bug 30055: Fix when there is no searchable attr type No idea why we need that. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #100 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132464 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132464&action=edit Bug 30055: Restore DefaultPatronSearchFields and fix extended attrs search We lost the DefaultPatronSearchFields behaviour, we don't want to search on all data but only DefaultPatronSearchFields Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #101 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132465 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132465&action=edit Bug 30055: Missing search on othernames Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #102 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132466 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132466&action=edit Bug 30055: (follow-up) Increase popup window size With the required addition of fields to the displayed result table, we need to increase the size of the popover window to prevent horizontal scrolling. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #103 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132467 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132467&action=edit Bug 30055: (follow-up) Add missing embeds Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #104 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132468 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132468&action=edit Bug 30055: Don't hardcode the default sort column At this point it does not change anything, all calls to members/search.pl has "name" in second column, but that will be helpful in follow-up bugs. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #105 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132469 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132469&action=edit Bug 30055: Force exact match for dropdown For libraries and categories we need to use an exact match. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #106 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132470 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132470&action=edit Bug 30055: clear the column filter if none selected ie. search for "", not "^$" Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #107 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132471 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132471&action=edit Bug 30055: (QA follow-up) Minor QA fixes Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #108 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132472 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132472&action=edit Bug 30055: API unit tests Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #109 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 132473 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132473&action=edit Bug 30055: (follow-up) Adapt spec for bug 30194 Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30393 See Also|https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30393 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30393 [Bug 30393] datatables wrapper should handle searching for % and _ -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #110 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 132539 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132539&action=edit Bug 30055: Add missing x-koha-embed for /acquisitions/baskets/managers -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff --- Comment #111 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Séverine Queune from comment #85)
About guarantor page (I'm not used to this functionality so I hope I use it correctly and tested it as expected) :
1) I love the big popup !
I opened bug 30404.
2) I was surprised by the content of the table, as I expected something unified with the table in '-members-home.pl page, but it's not
They should contain the same columns as before.
3) Address is much bigger than the other informations, font-size should probably be set at 100% instead of 110%
Opened bug 30405.
4) Resetting a dropdown menu fails on new search. To reproduce : select a library or category in the dropdown and search ; reset the menu to 'Any' and search : results stay the same. Use 'Clear' option and launch a new search using 'Any' : results stay the same as initial search.
Fixed on bug 30093.
About Suggestion's manager + Patron's card + Serial routing list + Users to notify when order is received + Owner and users of a fund pages :
5) I regret the pop-up isn't a big one as for guarantor (see point 1) : you have to scroll to see results which is not really a user-friendly thing. I opened a new bug for that.
Ha, but I've opened bug 30404 as well :) Which one is yours?
6) same as point 4)
Should be fixed as well then.
7) I also have the same search 'issues' described on bug 30063 for special signs (point 3) and search not correctly applied (point 4)
This has been reported by Tomas on bug 30393.
About Manager of an acquisition basket :
8) I can't get any results whatever the permissions I set for different users (order_manage, order_manage_all, superlibrarian)
Note that I tested as a superlibrairian user but didn't try with simple user permissions.
Good catch, is fixed now! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #112 from Séverine Queune <severine.queune@bulac.fr> --- All the points supposed be fixed by the present bug seems ok for me. But shame on me, I forgot one point in my previous feedback :/ Search 'Starts with' is down. To reproduce : select 'Standard' and 'Starts with' and search for 'ko' or 'koh' : there is supposed be 3 or 4 results but none are displayed. It seems this option searches for 'Is exactly' and not 'Starts with' it works when you search for 'koha'. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132450|0 |1 is obsolete| | --- Comment #113 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132616 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132616&action=edit Bug 30055: Make patron searches use the REST API This patch will rewrite some of our patron searches to make them use the REST API routes (and so the powerful the DataTables wrapper which will bring all the nice DT feature to filter, sort, etc.) The patron searches we will take into account here are those that we use to select a patron in a pop-up: * Guarantor * Suggestion's manager * Patron's card * Serial routing list * Users to notify when order is received * Manager of an acquisition basket * Owner and users of a fund Regarding permissions there are two main problematics: * Filter a patron set by patrons having a specific subpermissions (in case of adding a manager to a suggestion or when we deal with acquisition and funds). We added a new Koha::Patrons->filter_by_have_subpermission method that will take in parameter a subpermission. To make thing transparent for the callers we are adding new routes, like /suggestions/managers to list the possible managers of suggestions. * Restrict/allow access to the default patron searches /patrons We need to access it when a logged in patron does not have borrowers permission. Ideally we need a separate "search_borrowers" subpermissions but it's considered outside the scope of this change. For each patch you will take care of testing the different permissions that are into effect (either for the logged in patron or the patrons returned by the search). The tables should contain the same columns as prior to this patch, except for "categories" and "library". We have the filter on top of the page and so we need to add them to the table as new columns if they weren't there before. Test plan (for this patch): Search for guarantor and select Test plan (for all patches): Add/Select patrons from the correct place where you can search for patrons, play extensively with the filters/pagination/etc Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132451|0 |1 is obsolete| | --- Comment #114 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132617 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132617&action=edit Bug 30055: Use /api/v1/suggestions/managers to list managers or suggestions Test plan: Select a manager for a suggestion Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132452|0 |1 is obsolete| | --- Comment #115 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132618 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132618&action=edit Bug 30055: Use /patrons for patron's cards Test plan: Create a new card batch and add new borrowernumber using the "Add patron(s)" button. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132453|0 |1 is obsolete| | --- Comment #116 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132619 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132619&action=edit Bug 30055: Use /patrons for routing list Test plan: Add new users to a serial routing list Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132454|0 |1 is obsolete| | --- Comment #117 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132620 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132620&action=edit Bug 30055: Use /patrons for neworderempty Test plan: Create or edit an order, add users to notify on receiving Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132455|0 |1 is obsolete| | --- Comment #118 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132621 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132621&action=edit Bug 30055: Use /acquisitions/baskets/managers for basket's manager Test plan: Add a manager to a basket Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132456|0 |1 is obsolete| | --- Comment #119 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132622 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132622&action=edit Bug 30055: /api/v1/acquisitions/funds/owners and users for funds Two new routes that do the same thing /api/v1/acquisitions/funds/owners /api/v1/acquisitions/funds/users To list the possible owners and users for a fund Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132457|0 |1 is obsolete| | --- Comment #120 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132623 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132623&action=edit Bug 30055: Adjust hint about permissions Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132458|0 |1 is obsolete| | --- Comment #121 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132624 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132624&action=edit Bug 30055: Prevent blink when page is loading Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132459|0 |1 is obsolete| | --- Comment #122 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132625 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132625&action=edit Bug 30055: Restore patron's preview links Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132460|0 |1 is obsolete| | --- Comment #123 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132627 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132627&action=edit Bug 30055: Add missing include to format addresses Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132461|0 |1 is obsolete| | --- Comment #124 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132628 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132628&action=edit Bug 30055: Put extended attributes search back Last patches remove the ability to search on extended attributes. C4::Utils::DataTables::Members::search is searching on all the attributes that are flagged as "searchable", we want to keep this behaviour. I have tried several things and this is the simplest I have found. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132462|0 |1 is obsolete| | --- Comment #125 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132629 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132629&action=edit Bug 30055: Add missing spec file for baskets Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132463|0 |1 is obsolete| | --- Comment #126 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132630 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132630&action=edit Bug 30055: Fix when there is no searchable attr type No idea why we need that. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132464|0 |1 is obsolete| | --- Comment #127 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132631 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132631&action=edit Bug 30055: Restore DefaultPatronSearchFields and fix extended attrs search We lost the DefaultPatronSearchFields behaviour, we don't want to search on all data but only DefaultPatronSearchFields Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132465|0 |1 is obsolete| | --- Comment #128 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132632 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132632&action=edit Bug 30055: Missing search on othernames Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132466|0 |1 is obsolete| | --- Comment #129 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132633 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132633&action=edit Bug 30055: (follow-up) Increase popup window size With the required addition of fields to the displayed result table, we need to increase the size of the popover window to prevent horizontal scrolling. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132467|0 |1 is obsolete| | --- Comment #130 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132634 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132634&action=edit Bug 30055: (follow-up) Add missing embeds Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132468|0 |1 is obsolete| | --- Comment #131 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132635 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132635&action=edit Bug 30055: Don't hardcode the default sort column At this point it does not change anything, all calls to members/search.pl has "name" in second column, but that will be helpful in follow-up bugs. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132469|0 |1 is obsolete| | --- Comment #132 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132636 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132636&action=edit Bug 30055: Force exact match for dropdown For libraries and categories we need to use an exact match. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132470|0 |1 is obsolete| | --- Comment #133 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132637 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132637&action=edit Bug 30055: clear the column filter if none selected ie. search for "", not "^$" Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132471|0 |1 is obsolete| | --- Comment #134 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132638 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132638&action=edit Bug 30055: (QA follow-up) Minor QA fixes Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132472|0 |1 is obsolete| | --- Comment #135 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132639 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132639&action=edit Bug 30055: API unit tests Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132473|0 |1 is obsolete| | --- Comment #136 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132640 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132640&action=edit Bug 30055: (follow-up) Adapt spec for bug 30194 Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132539|0 |1 is obsolete| | --- Comment #137 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 132641 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132641&action=edit Bug 30055: Add missing x-koha-embed for /acquisitions/baskets/managers Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #138 from Séverine Queune <severine.queune@bulac.fr> --- All the bugs linked to this specific ticket are fixed, thanks Jonathan ! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132616|0 |1 is obsolete| | --- Comment #139 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132664 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132664&action=edit Bug 30055: Make patron searches use the REST API This patch will rewrite some of our patron searches to make them use the REST API routes (and so the powerful the DataTables wrapper which will bring all the nice DT feature to filter, sort, etc.) The patron searches we will take into account here are those that we use to select a patron in a pop-up: * Guarantor * Suggestion's manager * Patron's card * Serial routing list * Users to notify when order is received * Manager of an acquisition basket * Owner and users of a fund Regarding permissions there are two main problematics: * Filter a patron set by patrons having a specific subpermissions (in case of adding a manager to a suggestion or when we deal with acquisition and funds). We added a new Koha::Patrons->filter_by_have_subpermission method that will take in parameter a subpermission. To make thing transparent for the callers we are adding new routes, like /suggestions/managers to list the possible managers of suggestions. * Restrict/allow access to the default patron searches /patrons We need to access it when a logged in patron does not have borrowers permission. Ideally we need a separate "search_borrowers" subpermissions but it's considered outside the scope of this change. For each patch you will take care of testing the different permissions that are into effect (either for the logged in patron or the patrons returned by the search). The tables should contain the same columns as prior to this patch, except for "categories" and "library". We have the filter on top of the page and so we need to add them to the table as new columns if they weren't there before. Test plan (for this patch): Search for guarantor and select Test plan (for all patches): Add/Select patrons from the correct place where you can search for patrons, play extensively with the filters/pagination/etc Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132617|0 |1 is obsolete| | --- Comment #140 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132665 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132665&action=edit Bug 30055: Use /api/v1/suggestions/managers to list managers or suggestions Test plan: Select a manager for a suggestion Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132618|0 |1 is obsolete| | --- Comment #141 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132666 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132666&action=edit Bug 30055: Use /patrons for patron's cards Test plan: Create a new card batch and add new borrowernumber using the "Add patron(s)" button. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132619|0 |1 is obsolete| | --- Comment #142 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132667 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132667&action=edit Bug 30055: Use /patrons for routing list Test plan: Add new users to a serial routing list Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132620|0 |1 is obsolete| | --- Comment #143 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132668 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132668&action=edit Bug 30055: Use /patrons for neworderempty Test plan: Create or edit an order, add users to notify on receiving Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132621|0 |1 is obsolete| | --- Comment #144 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132669 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132669&action=edit Bug 30055: Use /acquisitions/baskets/managers for basket's manager Test plan: Add a manager to a basket Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132622|0 |1 is obsolete| | --- Comment #145 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132670 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132670&action=edit Bug 30055: /api/v1/acquisitions/funds/owners and users for funds Two new routes that do the same thing /api/v1/acquisitions/funds/owners /api/v1/acquisitions/funds/users To list the possible owners and users for a fund Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132623|0 |1 is obsolete| | --- Comment #146 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132671 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132671&action=edit Bug 30055: Adjust hint about permissions Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132624|0 |1 is obsolete| | --- Comment #147 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132672 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132672&action=edit Bug 30055: Prevent blink when page is loading Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132625|0 |1 is obsolete| | --- Comment #148 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132673 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132673&action=edit Bug 30055: Restore patron's preview links Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132627|0 |1 is obsolete| | --- Comment #149 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132674 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132674&action=edit Bug 30055: Add missing include to format addresses Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132628|0 |1 is obsolete| | --- Comment #150 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132675 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132675&action=edit Bug 30055: Put extended attributes search back Last patches remove the ability to search on extended attributes. C4::Utils::DataTables::Members::search is searching on all the attributes that are flagged as "searchable", we want to keep this behaviour. I have tried several things and this is the simplest I have found. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132629|0 |1 is obsolete| | --- Comment #151 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132676 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132676&action=edit Bug 30055: Add missing spec file for baskets Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132630|0 |1 is obsolete| | --- Comment #152 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132677 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132677&action=edit Bug 30055: Fix when there is no searchable attr type No idea why we need that. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132631|0 |1 is obsolete| | --- Comment #153 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132678 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132678&action=edit Bug 30055: Restore DefaultPatronSearchFields and fix extended attrs search We lost the DefaultPatronSearchFields behaviour, we don't want to search on all data but only DefaultPatronSearchFields Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132632|0 |1 is obsolete| | --- Comment #154 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132679 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132679&action=edit Bug 30055: Missing search on othernames Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132633|0 |1 is obsolete| | --- Comment #155 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132680 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132680&action=edit Bug 30055: (follow-up) Increase popup window size With the required addition of fields to the displayed result table, we need to increase the size of the popover window to prevent horizontal scrolling. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132634|0 |1 is obsolete| | --- Comment #156 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132681 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132681&action=edit Bug 30055: (follow-up) Add missing embeds Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132635|0 |1 is obsolete| | --- Comment #157 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132682 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132682&action=edit Bug 30055: Don't hardcode the default sort column At this point it does not change anything, all calls to members/search.pl has "name" in second column, but that will be helpful in follow-up bugs. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132636|0 |1 is obsolete| | --- Comment #158 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132683 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132683&action=edit Bug 30055: Force exact match for dropdown For libraries and categories we need to use an exact match. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132637|0 |1 is obsolete| | --- Comment #159 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132684 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132684&action=edit Bug 30055: clear the column filter if none selected ie. search for "", not "^$" Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132638|0 |1 is obsolete| | --- Comment #160 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132685 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132685&action=edit Bug 30055: (QA follow-up) Minor QA fixes Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132639|0 |1 is obsolete| | --- Comment #161 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132686 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132686&action=edit Bug 30055: API unit tests Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132640|0 |1 is obsolete| | --- Comment #162 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132687 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132687&action=edit Bug 30055: (follow-up) Adapt spec for bug 30194 Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132641|0 |1 is obsolete| | --- Comment #163 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 132688 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132688&action=edit Bug 30055: Add missing x-koha-embed for /acquisitions/baskets/managers Signed-off-by: Séverine Queune <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #164 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Such a great team effort here testing and qaing.. tests are all now passing, followups have al been forthcoming.. this is great work and brings us to a much better place. QA scripts also happy, PASSING QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Bug 30055 depends on bug 30194, which changed state. Bug 30194 Summary: Update required JSON::Validator version https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30194 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |22.05.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 --- Comment #165 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to master for 22.05, thanks to everybody involved 🦄 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Pushed to master |RESOLVED CC| |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30596 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30596 [Bug 30596] api/v1/acquisitions_baskets.t is failing randomly -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30853 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30853 [Bug 30853] Missing description for 'baskets' in swagger.yaml -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Didier Gautheron <didier.gautheron@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |33554 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33554 [Bug 33554] searching borrowers is a lot slower if there's searchable extended attributes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30055 Sally <sally.healey@cheshiresharedservices.gov.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sally.healey@cheshireshared | |services.gov.uk -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org