From d890d886a709a5aef97146cae337a30b733c37fa Mon Sep 17 00:00:00 2001 From: jason Date: Tue, 24 Jul 2007 12:29:07 +0000 Subject: [PATCH] changes to allow for configurable fields to show in menu browse git-svn-id: svn+ssh://rubyforge.org/var/svn/zcc/trunk@266 695555e7-a3f4-42c9-822d-1d0ed3746087 --- bin/zcc | 1 + examples/zcc.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/bin/zcc b/bin/zcc index d5ef366..24ca265 100644 --- a/bin/zcc +++ b/bin/zcc @@ -64,6 +64,7 @@ $procs = yamlfile['procs'] TO_SHOW = yamlfile['to_show'] SHOW_PER_PAGE = yamlfile['show_per_page'] +FIELDS_TO_SHOW = yamlfile['fields_to_show'] HOW_TO_SAVE = yamlfile['save_filename'] TIMESTAMP = Time.now.strftime("%Y%m%d%H%M%S") SCRIPTING = yamlfile['scripting_on'] diff --git a/examples/zcc.yaml b/examples/zcc.yaml index 72ebe06..985fba7 100644 --- a/examples/zcc.yaml +++ b/examples/zcc.yaml @@ -14,6 +14,9 @@ to_show: 40 #What is the maximum number of records you want to show on each menu page? show_per_page: 5 +#Which field numbers would you like to show in the menu page? +fields_to_show: [245, 260, 300] + # Do you want to save your MARC files by 'search_term' or by 'timestamp'? Choosing timestamp will save all records from a single session to the same file, while search_term will save to separate files for each different search term used. save_filename: timestamp -- 2.11.4.GIT