eleybourn/Book-Catalogue — pull request #307 by novacej (2012-04-24 18:26:29+00:00)
Title: Added support for showing search results in the list - when adding a book by name.

Hi,

I read the issue#221 and I agree that show options when returning a search result (when adding a book by name) can be useful. So I added a checkbox to the name_search screen - if the checkbox is checked, search results will be displayed in the list - if the checkbox isn't checked, only the first book will be returned.

I tried to minimize the necessary changes in the code (and not affect the rest of the application) so the information - whether the search results should be displayed in the list - is appended to the string with author. In the current version, books will be searched only on Amazon and Google Books - but other servers can be added too. Found books are combined through a map, so the result has regular order and duplicates are removed - two books are duplicate if both have the same ISBN or both have the same name and publisher.

Thanks to the checkbox, the user don't have to use this feature - it's only a option:)