Summary: | OPAC performance enhancement, only deal with subscrition data, if the record has a subscription attached | ||
---|---|---|---|
Product: | Koha | Reporter: | Chris Cormack <chris> |
Component: | OPAC | Assignee: | Paul Poulain <paul.poulain> |
Status: | CLOSED INVALID | QA Contact: | Bugs List <koha-bugs> |
Severity: | enhancement | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | julian.maurice, paul.poulain |
Version: | 3.4 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 5584 |
Description
Chris Cormack
2011-03-28 02:21:44 UTC
I think there is a bug in this. +if ($dat->{'serial'}){ + my $subscriptionsnumber = CountSubscriptionFromBiblionumber($biblionumber); + my @subscriptions = GetSubscriptions( $dat->{title}, $dat->{issn}, $biblionumber ); + + my @subs; + $dat->{'serial'}=1 if $subscriptionsnumber; Where is the patch? Hi Chris, I can't find the patch. Do you have it ? Otherwise, i'll close the bug. Anyway, i'm not 100% sure this patch is a good idea: it relies on the fact that biblio.serials field is set when there is a subscription. Is it what you've in MARC21 ? (we have it in UNIMARC) Seems your 942$s field is mapped here so, maybe i fear something without reason... |