<script_lib>/openils/var</script_lib>
</dirs>
- <!-- global data visiblity settings -->
+ <!-- global data visibility settings -->
<share>
<user>
<!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
my $ou = $args{org_unit};
my $ou_type = $args{depth};
my $limit = $args{limit} || 10;
- my $visiblity_limit = $args{visiblity_limit} || 5000;
+ my $visibility_limit = $args{visibility_limit} || 5000;
my $offset = $args{offset} || 0;
my $outer_limit = 1000;
$lf_filter
GROUP BY m.metarecord
ORDER BY 4 $sort_dir, MIN(COALESCE(CHAR_LENGTH(f.value),1))
- LIMIT $visiblity_limit
+ LIMIT $visibility_limit
SQL
if (0) {
my $ou = $args{org_unit};
my $ou_type = $args{depth};
my $limit = $args{limit} || 10;;
- my $visiblity_limit = $args{visiblity_limit} || 5000;;
+ my $visibility_limit = $args{visibility_limit} || 5000;;
my $offset = $args{offset} || 0;
if (!$ou) {
$join_table_list
GROUP BY m.metarecord
-- ORDER BY 4 $sort_dir
- LIMIT $visiblity_limit
+ LIMIT $visibility_limit
SQL
if ($self->api_name !~ /staff/o) {
my $ou_type = $args{depth};
my $limit = $args{limit} || 10;
my $pref_lang = $args{prefered_language} || 'eng';
- my $visiblity_limit = $args{visiblity_limit} || 5000;
+ my $visibility_limit = $args{visibility_limit} || 5000;
my $offset = $args{offset} || 0;
if (!$ou) {
$lf_filter
GROUP BY b.id, b.source
ORDER BY 3 $sort_dir
- LIMIT $visiblity_limit
+ LIMIT $visibility_limit
SQL
if ($self->api_name !~ /staff/o) {
var list = util.functional.map_object_to_list( g.templates, function(obj,i) { return [i, i]; } );
g.template_menu = util.widgets.make_menulist( list );
$('template_placeholder').appendChild(g.template_menu);
- alert("Note: These imported templates will get saved along with any new template you try to create, but if that doesn't happen, then these templates will dissappear with the next invocation of the item attribute editor.");
+ alert("Note: These imported templates will get saved along with any new template you try to create, but if that doesn't happen, then these templates will disappear with the next invocation of the item attribute editor.");
}
} else {
/******************************************************************************************************/
- /* Synchronize stat cat visiblity with library filter menu, and default template selection */
+ /* Synchronize stat cat visibility with library filter menu, and default template selection */
JSAN.use('util.file');
var file = new util.file('copy_editor_prefs.'+g.data.server_unadorned);
g.copy_editor_prefs = util.widgets.load_attributes(file);