[Koha-bugs] [Bug 13215] letter.code is considered as a primary key

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 7 16:03:07 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13215

--- Comment #10 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to M. Tompsett from comment #9)
> Comment on attachment 33316 [details] [review]
> Bug 13215: The same letter code can be used for several libraries

> Does SQL9 rule apply?

Not sure this is used.
Some queries are constructed dynamically, it's not possible to write them using
the rules.
For the test files, I used perltidy.

> ::: tools/letter.pl
> @@ +115,4 @@
> >      delete_confirm($branchcode, $module, $code);
> >  }
> >  elsif ( $op eq 'delete_confirmed' ) {
> > +    delete_confirmed($branchcode, $module, $code);
> 
> mtt was removed, because it is never passed, correct?

Yes, it's not possible to delete only 1 template, all templates should be
removed when a letter is removed.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list