Bug 37238: Add exception for itemsearch
Item search has its own way to share the link, we should not deal with the state (and the work from bug 33484) on this page. It will certainly need to be adjusted to work like the other tables, but it's something for later. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
bdb81212ad
commit
9f4ead89b8
|
|
@ -215,7 +215,8 @@ function KohaTable(id_selector, dt_parameters, table_settings, add_filters) {
|
|||
}
|
||||
);
|
||||
|
||||
if ( table_settings ) {
|
||||
/* No other exceptions should be added here! */
|
||||
if ( table_settings && table_settings.page != 'itemsearch' ) {
|
||||
dt_parameters["buttons"].push(
|
||||
{
|
||||
autoClose: true,
|
||||
|
|
|
|||
|
|
@ -149,7 +149,8 @@
|
|||
</p>
|
||||
[% END %]
|
||||
|
||||
[% IF modulename != 'opac' %]
|
||||
[%# No other exceptions should be added here! %]
|
||||
[% IF modulename != 'opac' && pagename != 'itemsearch' %]
|
||||
<p>
|
||||
[% SET option_name = pagename _ "|" _ tablename _ "_default_save_state" %]
|
||||
<label for="[% option_name | html %]" title="Save the column visibility, length of the table and order in session">Save configuration state on page change:</label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue