mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update qbo_item.rb
This commit is contained in:
@@ -24,7 +24,7 @@ class QboItem < ActiveRecord::Base
|
||||
query = "SELECT Id, Name FROM Item WHERE Type = 'Service' "
|
||||
#query << " AND Metadata.LastUpdatedTime > '#{last}' " if last
|
||||
|
||||
items = get_base.service.query()
|
||||
items = get_base.service.query(query)
|
||||
transaction do
|
||||
# Update the item table
|
||||
items.each { |item|
|
||||
|
||||
Reference in New Issue
Block a user