Commit e12f0c9d15ab311787ec4b99e910a4354194db6e
1 parent
c000d46c
add start_at_key to combrw
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
lib/syspro/business_objects/combrw.rb
| ... | ... | @@ -9,7 +9,7 @@ module Syspro |
| 9 | 9 | include Syspro::ApiOperations::Query |
| 10 | 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 | 13 | :table_name, :title, :columns |
| 14 | 14 | |
| 15 | 15 | def call(user_id, raw) | ... | ... |
lib/syspro/business_objects/schemas/combrw.xml.erb
| 1 | 1 | <?xml version="1.0" encoding="Windows-1252"?> |
| 2 | 2 | <Browse xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="COMBRW.XSD"> |
| 3 | 3 | <BrowseName><%= @browse_name %></BrowseName> |
| 4 | - <StartAtKey/> | |
| 4 | + <StartAtKey><%= @start_at_key %></StartAtKey> | |
| 5 | 5 | <StartCondition><%= @start_condition %></StartCondition> |
| 6 | 6 | <ReturnRows><%= @return_rows %></ReturnRows> |
| 7 | 7 | <% for @filter in @filters %> | ... | ... |