def perform_search(self, request, query, only_app):
        number, number_type = validate_isxn(query)
        if not number_type:
            return []
        else:
            query = {
                number_type: number
            }
        
        query = LibrarySearchQuery(**query)
        
        results = []
        for item in self.conf.provider.library_search(query):
            results.append({
                'title': item.title,
                'redirect_if_sole_result': True,
                'application': 'library',
                'excerpt': '',
                'additional': '<strong>Library item</strong>, Publisher: %s' % item.publisher,
                'url': reverse('library:item-detail', args=[item.control_number]),
            })
        
        return results
dataset/ETHPy150Open mollyproject/mollyproject/molly/apps/library/search.py/ApplicationSearch.perform_search/original