From bugzilla-daemon@bugs.koha-community.org Wed Jun 9 15:50:09 2010 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 4866] New: Optionally enable Change event for item plugins Date: Wed, 09 Jun 2010 13:50:06 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3177094706484652277==" --===============3177094706484652277== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D4866 Summary: Optionally enable Change event for item plugins Change sponsored?: --- Product: Koha Version: rel_3_0 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: PATCH-Sent Component: Cataloging AssignedTo: m.de.rooy@rijksmuseum.nl ReportedBy: m.de.rooy@rijksmuseum.nl QAContact: koha-bugs@lists.koha-community.org CC: ian.walls@bywatersolutions.com Estimated Hours: 0.0 A few lines of code in additem.pl make it possible to add the Change event ne= xt to Blur and Focus for item plugins. This prevents running the plugin if the data has not changed. Patch sent for 3.0.x. --=20 Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab= =3Demail ------- You are receiving this mail because: ------- You are the QA contact for the bug. --===============3177094706484652277==-- From bugzilla-daemon@bugs.koha-community.org Thu Nov 4 11:50:15 2010 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 4866] Optionally enable Change event for item plugins Date: Thu, 04 Nov 2010 10:50:14 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2988555953707503617==" --===============2988555953707503617== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D4866 M. de Rooy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Version|rel_3_0 |HEAD --- Comment #1 from M. de Rooy 2010-11-04 10:50:13= UTC --- The patch sent for master in July still holds on 3.2. diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index ea4daf9..df08c0e 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -523,8 +523,10 @@ foreach my $tag (sort keys %{$tagslib}) { if (do $plugin) { my $extended_param =3D plugin_parameters( $dbh, $temp, $tagslib, $subfield_data{id}, \@loop_data ); my ( $function_name, $javascript ) =3D plugin_javascript( $dbh, $temp, $tagslib, $subfield_data{id}, \@loop_data ); + my $change=3D index($javascript, 'function Change')>-1?"return Change$function_name($subfield_data{random}, '$subfield_data{id}');": 'return 1;'; #enhancement 4866 $subfield_data{marc_value} =3D qq[ ... $javascript]; -- --=20 Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab= =3Demail ------- You are receiving this mail because: ------- You are the QA contact for the bug. --===============2988555953707503617==-- From bugzilla-daemon@bugs.koha-community.org Mon Nov 15 09:40:00 2010 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 4866] Optionally enable Change event for item plugins Date: Mon, 15 Nov 2010 08:39:59 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3150897664677465911==" --===============3150897664677465911== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D4866 Chris Cormack changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz --- Comment #2 from Chris Cormack 2010-11-15 08:39= :57 UTC --- Patches pushed and merged, please test. --=20 Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab= =3Demail ------- You are receiving this mail because: ------- You are the QA contact for the bug. --===============3150897664677465911==-- From bugzilla-daemon@bugs.koha-community.org Mon Nov 15 10:53:01 2010 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 4866] Optionally enable Change event for item plugins Date: Mon, 15 Nov 2010 09:53:00 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0044395365372775831==" --===============0044395365372775831== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D4866 M. de Rooy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --=20 Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab= =3Demail ------- You are receiving this mail because: ------- You are the QA contact for the bug. --===============0044395365372775831==-- From bugzilla-daemon@bugs.koha-community.org Thu Nov 18 04:15:41 2010 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 4866] Optionally enable Change event for item plugins Date: Thu, 18 Nov 2010 03:15:40 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0368992577976979673==" --===============0368992577976979673== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D4866 --- Comment #3 from Chris Nighswonger 2010-11-= 18 03:15:40 UTC --- This bug has a patch presently committed to HEAD and 3.2.x. Please take the appropriate action to update the status of this bug. Remember, bugs which have been resolved should be tested and marked closed, preferably by the original reporter. --=20 Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab= =3Demail ------- You are receiving this mail because: ------- You are the QA contact for the bug. --===============0368992577976979673==-- From bugzilla-daemon@bugs.koha-community.org Thu Nov 18 08:49:54 2010 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 4866] Optionally enable Change event for item plugins Date: Thu, 18 Nov 2010 07:49:53 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3628330659257378992==" --===============3628330659257378992== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D4866 M. de Rooy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --=20 Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab= =3Demail ------- You are receiving this mail because: ------- You are the QA contact for the bug. --===============3628330659257378992==--