Open LukasCBossert opened 4 years ago
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.
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 }
It's a great idea! Would you do a pull request? Thanks!
Just did : https://github.com/monperrus/bibtexbrowser/pull/105
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.
This is what I am playing around with: