View Single Post
Old 06-15-2015, 07:53 AM   #24
cramoisi
Librarian
cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.
 
Posts: 346
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
Quote:
Originally Posted by GeoffR View Post
I've updated the attachment in post #1 to include the missing `Search in library by default` patch, and include it here for those who want to paste it into their current libnickel.so.1.0.0.patch file:
Spoiler:
Code:
<Patch>
patch_name = `Search in Library by default`
patch_enable = `yes`
# SearchEditBox.setSearchType(0) --> SearchEditBox.setSearchType(1)
replace_bytes = 9025D4, 41 46, 01 21
</Patch>


There are now 5 search location options available when you tap the search bar: Bookstore, Library, Current Read, Annotations, and Dictionary. Which one comes up by default depends on where you were when you invoked search.

The patch should cause Library to be the default whenever Bookstore would have been the default without the patch, but have no effect if another location is the default. I.e. if you invoke search from within a book it should still default to Current Read.
I was waiting for this ! thanks a lot
cramoisi is offline   Reply With Quote