[Bug 7318] New: Filtering Patron Card Creator by Category Code Does Nothing
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Bug #: 7318 Summary: Filtering Patron Card Creator by Category Code Does Nothing Classification: Unclassified Change sponsored?: --- Product: Koha Version: rel_3_6 Platform: All OS/Version: All Status: NEW Severity: major Priority: P5 - low Component: Tools AssignedTo: gmcharlt@gmail.com ReportedBy: lzuares@collsk12.org QAContact: ian.walls@bywatersolutions.com Created attachment 6570 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6570 Sample Search Please see attached: Search by Category Codes shows all patrons in all categories. Displays "()" as category for all patrons. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 --- Comment #1 from Garry Collum <gcollum@gmail.com> 2012-01-21 19:05:00 UTC --- Created attachment 7269 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7269 Patch to fix display Category variables were not being sent to the template, this patch uses code from members.pl to define those variables and send them to the template. It does not fix the searching issue. The code seems to be written to search for category_type, instead of categorycode, even though the label on the search reads 'Category Code.' Should it be searching for code or type? The original category column in the results displayed the category code description followed by the category type. The searching should also be fixed in conjunction with bug 5502. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff CC| |jcamins@cpbibliography.com -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 --- Comment #2 from Liz Rea <wizzyrea@gmail.com> 2012-02-16 02:24:15 UTC --- Created attachment 7670 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7670 Bug 7318 - filtering patron card creator by category code does nothing This patch should fix the search issue - do note you have to use the *code* and not the *description* To test: * replicate the bug: * do a patron search in the patron card creator, with the sample data installed, for category code PT - you should get results from all category codes. * Apply the patch * do a patron search in the patron card creator, with the sample data installed, for category code PT * you will get only results in patron category PT. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 --- Comment #3 from Liz Rea <wizzyrea@gmail.com> 2012-02-16 02:27:21 UTC --- Created attachment 7672 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7672 [Signed Off] Bug 7318: Fixes category display in patroncards Patron Search results. Category description and type were not being sent to the template. This patch fixes that issue, which also fixes the display. The display was showing 'Category Description (category type)'. It now displays 'Category Description (category code) to be consistent with the search label. This patch also assigns an empty string to $member to get rid of some 'uninitialized' errors in the logs. Signed-off-by: Liz Rea <wizzyrea@gmail.com> Confirm this patch fixes the display issue. Passes prove xt -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Liz Rea <wizzyrea@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7269|0 |1 is obsolete| | -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> 2012-02-16 08:42:26 UTC --- Hm, why not have a pulldown with categories to choose one from? Perhaps a possible enhancemant for a follow up patch? -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Liz Rea <wizzyrea@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wizzyrea@gmail.com --- Comment #5 from Liz Rea <wizzyrea@gmail.com> 2012-02-16 16:11:04 UTC --- That would be fab, of course. I was kind of, erm, focused on getting the actual function working. I can work on that today. :) <chants>Incremental improvement! Incremental improvement!</chants> -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> 2012-02-16 16:57:35 UTC --- That's why I said "follow up patch"! :) <chants>Incremental improvement! Incremental improvement!</chants> -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7670|0 |1 is obsolete| | --- Comment #7 from Chris Cormack <chris@bigballofwax.co.nz> 2012-02-19 06:55:02 UTC --- Created attachment 7751 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7751 Bug 7318 - filtering patron card creator by category code does nothing This patch should fix the search issue - do note you have to use the *code* and not the *description* To test: * replicate the bug: * do a patron search in the patron card creator, with the sample data installed, for category code PT - you should get results from all category codes. * Apply the patch * do a patron search in the patron card creator, with the sample data installed, for category code PT * you will get only results in patron category PT. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Fixes the search -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> 2012-02-22 06:24:29 UTC --- I see 2 signed off patches here... changing status :) -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.poulain@biblibre.com --- Comment #9 from Paul Poulain <paul.poulain@biblibre.com> 2012-02-27 16:58:53 UTC --- I must be silly but I can't reproduce the problem (I misundestand what means "search by categorycode" ?) I was trying to search /cgi-bin/koha/members/member.pl, clicking +, selecting a given categorycode, it works without the patch. where's my mistake ? -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 --- Comment #10 from Paul Poulain <paul.poulain@biblibre.com> 2012-02-27 17:00:30 UTC --- (In reply to comment #9)
I must be silly but I can't reproduce the problem (I misundestand what means "search by categorycode" ?) I was trying to search /cgi-bin/koha/members/member.pl, clicking +, selecting a given categorycode, it works without the patch.
where's my mistake ?
ok, forget me, it's in the title of the bug: Filtering *Patron Card Creator* by Category Code Does Nothing -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #11 from Paul Poulain <paul.poulain@biblibre.com> 2012-02-27 17:05:38 UTC --- QA comment * it seems that attachment 7751 has been merged into 7672, when I try to apply it, I get : "No changes -- Patch already applied." * small patch, nothing specific to say, passes tests -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Jane Wagner <jwagner@ptfs.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwagner@ptfs.com -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |In Discussion --- Comment #12 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- I believe the second patch has not been pushed. Could someone please test this and confirm whether the problem still exists, and, if it does not, clarify what it is that fixed it? Until the question is resolved, I will not be pushing this to 3.6.x. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 --- Comment #13 from lzuares@collsk12.org --- FWIW, I reported the bug and applied the second patch. After applying the patch, the Card Creator now works as designed. I will happily endorse this patch and hope it gets pushed to stable as soon as possible. Thanks. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7672|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Passed QA --- Comment #14 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Paul, Could you please push the patch still attached to this bug? It doesn't seem to be in master. It passed QA a while ago. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 --- Comment #15 from Paul Poulain <paul.poulain@biblibre.com> --- (In reply to comment #14)
Paul,
Could you please push the patch still attached to this bug? It doesn't seem to be in master. It passed QA a while ago.
When I try to apply this patch, I get: Applying: Bug 7318 - filtering patron card creator by category code does nothing Using index info to reconstruct a base tree... Falling back to patching base and 3-way merge... No changes -- Patch already applied. Moving to starting point so it seems it has been applied !(In reply to comment #13)
FWIW, I reported the bug and applied the second patch. After applying the patch, the Card Creator now works as designed. I will happily endorse this patch and hope it gets pushed to stable as soon as possible. Thanks.
lsuarez, which version are you running ? that's probably the explanation ! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Chris Nighswonger <cnighswonger@foundations.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7672|1 |0 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Chris Nighswonger <cnighswonger@foundations.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7672|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7318 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master Assignee|gmcharlt@gmail.com |wizzyrea@gmail.com --- Comment #16 from Paul Poulain <paul.poulain@biblibre.com> --- bumping question for anyone = this patch seems to have been applied. Could someone confirm ? -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org