https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35654

Brendan Lawlor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This patch updates the
      release notes|                            |delete_items script to use
                   |                            |Koha::Items->search instead
                   |                            |of a direct database query.
                   |                            |
                   |                            |Using a --where option that
                   |                            |refers to the items table
                   |                            |by name such as:
                   |                            |./misc/cronjobs/delete_item
                   |                            |s.pl --where
                   |                            |"items.withdrawn = 0"
                   |                            |
                   |                            |will no longer work and
                   |                            |result in an error:
                   |                            |execute failed: Unknown
                   |                            |column 'items.withdrawn' in
                   |                            |'where clause'
                   |                            |
                   |                            |Use the --where option
                   |                            |without naming the items
                   |                            |table instead:
                   |                            |./misc/cronjobs/delete_item
                   |                            |s.pl --where "withdrawn =
                   |                            |0"

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to