| Summary: | can't search patron's email anymore | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nicole C. Engard <nengard> |
| Component: | Patrons | Assignee: | Ian Walls <koha.sekjal> |
| Status: | CLOSED FIXED | QA Contact: | Marcel de Rooy <m.de.rooy> |
| Severity: | major | ||
| Priority: | P5 - low | CC: | gmcharlt, julian.maurice, koha.sekjal, kohapatch, savitra.sirohi |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Small patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | |||
| Bug Blocks: | 6253 | ||
| Attachments: |
Proposed Patch
signed off patch |
||
|
Description
Nicole C. Engard
2011-03-24 10:22:55 UTC
Had anyone had a chance to look at this - now we're pretty far away from this being functional so I don't know how easy it is to find. But when I reported this it had worked just a week or two before. Nicole *** Bug 6808 has been marked as a duplicate of this bug. *** from another bug report:
Amit Gupta 2011-09-02 08:35:07 UTC
Nicole,
but the existing code is comment.
#($results)=Search(\@searchpatron,{surname=>1,firstname=>1},[$from,$to],undef,["firstname","surname","email","othernames"]
) if (@searchpatron);
So it is not possible to search by patron email id.
I will write the fix for this once bug 6253 is committed, as it will change the underlying landscape for this. Should be a one-liner to add 'email' as a valid search field. Created attachment 6195 [details] [review] Proposed Patch Re-adds 'email' as a valid search field in members/member.pl Created attachment 6223 [details] [review] signed off patch Works as expected Assigning to Marcel for QA. Small patch; passing QA. Has been pushed: commit c3abbedebedd34948b664a4d2a6b34dc4863802d ! |