<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">I don’t believe that is something that can be configured with a :pui_hide option. </div><div class=""><br class=""></div><div class="">That form control is generated by this partial:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/archivesspace/archivesspace/blob/master/public/app/views/shared/_search.html.erb#L24-L28" class="">https://github.com/archivesspace/archivesspace/blob/master/public/app/views/shared/_search.html.erb#L24-L28</a></div><div class=""><br class=""></div><div class=""><table class="js-file-line-container highlight tab-size" data-tab-size="8" style="box-sizing: border-box; border-spacing: 0px; border-collapse: collapse; tab-size: 8; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;"><tbody style="box-sizing: border-box;" class=""><tr style="box-sizing: border-box;" class=""><td id="LC23" class="js-file-line blob-code-inner blob-code" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre;"> </td></tr><tr style="box-sizing: border-box;" class=""><td id="L24" class="blob-num js-line-number" data-line-number="24" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; line-height: 20px; color: rgba(27, 31, 35, 0.298039); text-align: right; white-space: nowrap; vertical-align: top; cursor: pointer; -webkit-user-select: none;"></td><td id="LC24" class="highlighted blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre; background-color: rgb(255, 251, 221);"> <span class="pl-pse" style="box-sizing: border-box;"><%</span><span class="pl-sre" style="box-sizing: border-box;"> <span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73);">if</span> i <span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73);">==</span> <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">0</span> </span><span class="pl-pse" style="box-sizing: border-box;">%></span></td></tr><tr style="box-sizing: border-box;" class=""><td id="L25" class="blob-num js-line-number" data-line-number="25" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; line-height: 20px; color: rgba(27, 31, 35, 0.298039); text-align: right; white-space: nowrap; vertical-align: top; cursor: pointer; -webkit-user-select: none;"></td><td id="LC25" class="highlighted blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre; background-color: rgb(255, 251, 221);"> <<span class="pl-ent" style="box-sizing: border-box; color: rgb(34, 134, 58);">div</span> <span class="pl-e" style="box-sizing: border-box; color: rgb(111, 66, 193);">class</span>=<span class="pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98);"><span class="pl-pds" style="box-sizing: border-box;">"</span>col-sm-3 form-group form-inline norepeat<span class="pl-pds" style="box-sizing: border-box;">"</span></span>></td></tr><tr style="box-sizing: border-box;" class=""><td id="L26" class="blob-num js-line-number" data-line-number="26" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; line-height: 20px; color: rgba(27, 31, 35, 0.298039); text-align: right; white-space: nowrap; vertical-align: top; cursor: pointer; -webkit-user-select: none;"></td><td id="LC26" class="highlighted blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre; background-color: rgb(255, 251, 221);"> <span class="pl-pse" style="box-sizing: border-box;"><%=</span><span class="pl-sre" style="box-sizing: border-box;"> label_tag(<span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">:limit</span>, t(<span class="pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98);"><span class="pl-pds" style="box-sizing: border-box;">'</span>search-limit<span class="pl-pds" style="box-sizing: border-box;">'</span></span>),<span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">:class</span> => <span class="pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98);"><span class="pl-pds" style="box-sizing: border-box;">'</span>sr-only<span class="pl-pds" style="box-sizing: border-box;">'</span></span>) </span><span class="pl-pse" style="box-sizing: border-box;">%></span></td></tr><tr style="box-sizing: border-box;" class=""><td id="L27" class="blob-num js-line-number" data-line-number="27" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; line-height: 20px; color: rgba(27, 31, 35, 0.298039); text-align: right; white-space: nowrap; vertical-align: top; cursor: pointer; -webkit-user-select: none;"></td><td id="LC27" class="highlighted blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre; background-color: rgb(255, 251, 221);"> <span class="pl-pse" style="box-sizing: border-box;"><%=</span><span class="pl-sre" style="box-sizing: border-box;"> select_tag(<span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">:limit</span>, options_for_select(limit_options, <span class="pl-smi" style="box-sizing: border-box;">@search</span>[<span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">:limit</span>]), <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 92, 197);">:class</span>=> <span class="pl-s" style="box-sizing: border-box; color: rgb(3, 47, 98);"><span class="pl-pds" style="box-sizing: border-box;">'</span>form-control fill-column<span class="pl-pds" style="box-sizing: border-box;">'</span></span>) </span><span class="pl-pse" style="box-sizing: border-box;">%></span></td></tr><tr style="box-sizing: border-box;" class=""><td id="L28" class="blob-num js-line-number" data-line-number="28" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; line-height: 20px; color: rgba(27, 31, 35, 0.298039); text-align: right; white-space: nowrap; vertical-align: top; cursor: pointer; -webkit-user-select: none;"></td><td id="LC28" class="highlighted blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; line-height: 20px; vertical-align: top; overflow: visible; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre; background-color: rgb(255, 251, 221);"> </<span class="pl-ent" style="box-sizing: border-box; color: rgb(34, 134, 58);">div</span>></td></tr></tbody></table><div class=""><br class=""></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">which gets called from several different views with limit_options set. </div><div class=""><br class=""></div><div class="">For example:</div><div class=""> <a href="https://github.com/archivesspace/archivesspace/blob/master/public/app/views/welcome/show.html.erb#L13" class="">https://github.com/archivesspace/archivesspace/blob/master/public/app/views/welcome/show.html.erb#L13</a></div><div class=""><br class=""></div><div class="">You could either:</div><div class=""><br class=""></div><div class="">[1] find those cases and override limit_options in plugins/local/public/views/ for all of those instances,</div><div class="">[2] just override that partial in plugins to strip out or ignore that particular option, </div><div class="">[3] Or, I think the simplest and easiest way is to remove it with javascript added to plugins/local/public/views/layout_head.html.erb : </div><div class=""><br class=""></div><div class=""><div class=""><font color="#b51a00" class=""><b class=""><script type="text/javascript" ></b></font></div><div class=""><font color="#b51a00" class=""><b class=""> $( function() { $( "select#limit >option[value='digital_object']" ).remove(); });</b></font></div><div class=""><font color="#b51a00" class=""><b class=""></script></b></font></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">That’s off the top of my head: you should probably double check or test that that selector doesn’t turn up in any other views. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">— Steve Majewski</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 20, 2017, at 3:35 PM, Celia Caust-Ellenbogen <<a href="mailto:ccauste1@swarthmore.edu" class="">ccauste1@swarthmore.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class="">Hello all,<div class=""><br class=""></div><div class="">We're using v2.1.2 and getting ready to launch the PUI. We're not using digital objects at all so I'd like to hide "Limit to digital materials" from the search options. </div><div class=""><br class=""></div><div class=""><span id="cid:ii_15fdb20d54282aa8"><Screen Shot 2017-11-20 at 3.31.05 PM.png></span><br clear="all" class=""><div class=""><br class=""></div><div class="">I could swear I figured this out earlier, but then I un-did it for some reason, and now I can't remember how to do it. <br class=""></div><div class=""><br class=""></div><div class="">Thanks,<br class="">Celia</div><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><font size="1" class="">Celia Caust-Ellenbogen </font><div class=""><a href="http://swarthmore.edu/friends-historical-library" target="_blank" class=""><font size="1" class="">Friends Historical Library of Swarthmore College</font></a></div><div class=""><font size="1" class="">610-328-8498</font></div><div class=""><a href="mailto:ccauste1@swarthmore.edu" style="font-size:x-small" target="_blank" class="">ccauste1@swarthmore.edu</a></div><div class=""><font size="1" class="">she/her/hers</font></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div>
</div></div>
_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br class=""></div></blockquote></div><br class=""></body></html>