Skip to content

Commit 0d6b128

Browse files
reset links after search
1 parent 3ec8201 commit 0d6b128

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

classes/Visualizer/Render/Library.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private function _renderLibrary() {
8282
echo '<div id="visualizer-types" class="visualizer-clearfix">';
8383
echo '<ul class="subsubsub">';
8484
// All tab.
85-
echo '<li class="visualizer-list-item all"><a class="' . ( ! isset( $_GET['type'] ) || empty( $_GET['type'] ) ? 'current' : '' ) . '" href="', esc_url( add_query_arg( array( 'vpage' => false, 'type' => false ) ) ), '">' . __( 'All', 'visualizer' ) . '</a> | </li>';
85+
echo '<li class="visualizer-list-item all"><a class="' . ( ! isset( $_GET['type'] ) || empty( $_GET['type'] ) ? 'current' : '' ) . '" href="', esc_url( add_query_arg( array( 'vpage' => false, 'type' => false, 's' => false ) ) ), '">' . __( 'All', 'visualizer' ) . '</a> | </li>';
8686
foreach ( $this->types as $type => $array ) {
8787
if ( ! is_array( $array ) ) {
8888
// support for old pro
@@ -94,6 +94,7 @@ private function _renderLibrary() {
9494
array(
9595
'type' => $type,
9696
'vpage' => false,
97+
's' => false,
9798
)
9899
)
99100
) . '">';

0 commit comments

Comments
 (0)