Commit e12f0c9d15ab311787ec4b99e910a4354194db6e

Authored by Isaac Lewis
1 parent c000d46c

add start_at_key to combrw

lib/syspro/business_objects/combrw.rb
@@ -9,7 +9,7 @@ module Syspro @@ -9,7 +9,7 @@ module Syspro
9 include Syspro::ApiOperations::Query 9 include Syspro::ApiOperations::Query
10 include Syspro::BusinessObjects::Parsers 10 include Syspro::BusinessObjects::Parsers
11 11
12 - attr_accessor :browse_name, :start_condition, :return_rows, :filters, 12 + attr_accessor :browse_name, :start_at_key, :start_condition, :return_rows, :filters,
13 :table_name, :title, :columns 13 :table_name, :title, :columns
14 14
15 def call(user_id, raw) 15 def call(user_id, raw)
lib/syspro/business_objects/schemas/combrw.xml.erb
1 <?xml version="1.0" encoding="Windows-1252"?> 1 <?xml version="1.0" encoding="Windows-1252"?>
2 <Browse xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="COMBRW.XSD"> 2 <Browse xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="COMBRW.XSD">
3 <BrowseName><%= @browse_name %></BrowseName> 3 <BrowseName><%= @browse_name %></BrowseName>
4 - <StartAtKey/> 4 + <StartAtKey><%= @start_at_key %></StartAtKey>
5 <StartCondition><%= @start_condition %></StartCondition> 5 <StartCondition><%= @start_condition %></StartCondition>
6 <ReturnRows><%= @return_rows %></ReturnRows> 6 <ReturnRows><%= @return_rows %></ReturnRows>
7 <% for @filter in @filters %> 7 <% for @filter in @filters %>