Skip to content

Button for getting the standard-view (no results) #104

Description

I am wondering if there is the possibility to have a button which will delete all the search results and the page is shown with all entries as it is when you would refresh it.

Bildschirmfoto 2020-05-14 um 13 42 30

This is what I am playing around with:

  function searchView() {
    ?>
    <!-- added 2020 -->
    <form>
      <INPUT class="input_box" TYPE="button" onClick="" VALUE="see all entries">
    </form>
    <!-- ^^ added 2020 -->
    <form action="?" method="get" target="<?php echo BIBTEXBROWSER_MENU_TARGET;?>">
      <input type="text" name="<?php echo Q_SEARCH; ?>" class="input_box" size="12"/>
      <input type="hidden" name="<?php echo Q_FILE; ?>" value="<?php echo @$_GET[Q_FILE]; ?>"/>
      <!-- <br/> -->
      <input type="submit" value="search" class="input_box"/>
    </form>
    <?php
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions