View Single Post
Old 06-15-2015, 06:00 AM   #22
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
`Search in library by default`

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.

Last edited by GeoffR; 06-15-2015 at 06:04 AM. Reason: spelling
GeoffR is offline   Reply With Quote