Koha-clms/t/db_dependent
Nick Clemens 78eff9c742 Bug 30155: Don't get items that can fillholds if there are no holds
This makes two changes:
1 - We no longer call get_items_that_can_fill if there are no holds
2 - The subroutine will return an empty Koha::Items object if there are no holds passed

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-25 09:26:13 -04:00
..
Acquisition
…
Auth
…
AuthoritiesMarc
…
Authority
…
Biblio Bug 24674: (follow-up) Simpler regex 2021-11-05 12:17:08 +01:00
Circulation Bug 29395: use EXPORT_OK from Koha::Patron::Debarments 2021-11-03 15:40:52 +01:00
CourseReserves
…
Creators
…
Exporter
…
Holds
…
Illrequest
…
Items
…
Koha Bug 30155: Don't get items that can fillholds if there are no holds 2022-03-25 09:26:13 -04:00
LDAP
…
Labels
…
Letters
…
Members
…
OAI Bug 29484: Regression tests 2021-12-17 08:35:14 -05:00
Patron Bug 29395: use EXPORT_OK from Koha::Patron::Debarments 2021-11-03 15:40:52 +01:00
Record
…
Reports Bug 30129: Add test 2022-02-25 08:34:15 -05:00
Reserves
…
SIP Bug 29754: (QA follow-up) Minor tests tweaks 2022-02-11 07:00:53 -05:00
Search
…
Serials
…
Template/Plugin Bug 29826: Manage call of Template Plugin Branches GetName() with null or empty branchcode 2022-03-04 09:59:38 -05:00
Utils Bug 28959: Add virtualshelves.public as a boolean 2021-10-28 17:47:38 +02:00
api/v1 Bug 22993: Unit tests 2022-03-11 06:46:31 -05:00
cronjobs
…
data
…
misc/translator
…
selenium Bug 29915: (QA follow-up) Spelling 2022-03-17 11:37:58 -04:00
www Bug 29368: Correctly mock Zebra index from tests 2021-10-29 15:45:53 +02:00
00-strict.t
…
01-test_dbic.t
…
Accounts.t
…
Acquisition.t
…
Amazon.t
…
ArticleRequests.t
…
AudioAlerts.t
…
Auth.t Bug 29915: Add a note for tests 2022-03-17 11:37:58 -04:00
AuthUtils.t
…
Auth_with_cas.t
…
Auth_with_ldap.t
…
AuthorisedValues.t
…
AuthoritiesMarc.t
…
BackgroundJob.t
…
Barcodes.t
…
Barcodes_ValueBuilder.t Bug 29689: (bug 28445 follow-up) Fix AutoBarcode=hbyymmincr 2022-01-07 06:20:07 -05:00
Biblio.t
…
Breeding.t Bug 29437: (QA follow-up) Update TODO in Breeding.t 2021-11-19 15:23:27 +01:00
Budgets.t
…
Cache.t
…
Calendar.t
…
Charset.t
…
Circulation.t Bug 30203: Circulation.t: prevent locking by setting envvar 2022-03-04 10:31:34 -05:00
Clubs.t Bug 29736: (QA follow-up) No need to delete all clubs 2022-01-14 09:35:15 -05:00
Context.t
…
Contract.t
…
CourseReserves.t
…
DecreaseLoanHighHolds.t
…
Filter_MARC_ViewPolicy.t
…
Fines.t
…
FrameworkPlugin.t
…
Heading.t
…
Heading_MARC21.t
…
Hold.t Bug 21652: Simplify code 2022-02-07 10:46:02 -05:00
Holds.t Bug 29969: Prevent crash if 'Update holds' clicked after bulk cancellation 2022-02-25 08:29:53 -05:00
HoldsQueue.t Bug 29015: Unit tests 2021-11-03 15:40:52 +01:00
Holidays.t
…
ILSDI_Services.t Bug 28238: Add tests 2022-02-07 08:22:58 -05:00
Illcomments.t
…
Illrequestattributes.t
…
Illrequests.t Bug 28932: Regression tests 2022-02-04 13:56:56 -05:00
ImportBatch.t Bug 29838: Fix string interpolation in ImportBatch.t 2022-02-07 06:52:33 -05:00
ImportExportFramework.t
…
Installer.t Bug 26326: (follow-up) Add ability to check for existence of any primary key 2021-11-03 15:40:52 +01:00
Items.t
…
Koha.t
…
Koha_Authority.t
…
Koha_Database.t
…
Koha_Elasticsearch.t
…
Koha_ExternalContent_OverDrive.t
…
Koha_ExternalContent_RecordedBooks.t
…
Koha_Misc_Files.t
…
Languages.t
…
Letters.t
…
LibraryGroups.t
…
Linker_Default.t
…
Linker_FirstMatch.t
…
Log.t Bug 28692: (follow-up) Add tests 2021-11-16 14:00:21 +01:00
MarcModificationTemplates.t
…
Members.t Bug 28943: Lower the risk of accidental patron deletion 2022-02-07 06:54:09 -05:00
Message.t
…
MungeMarcPrice.t
…
Overdues.t
…
Passwordrecovery.t
…
PatronLists.t
…
Patroncards.t
…
Patrons.t
…
Record.t
…
RecordProcessor_EmbedSeeFromHeadings.t
…
Reports.t
…
Reserves.t Bug 29553: Regression tests 2022-01-14 08:45:11 -05:00
RotatingCollections.t
…
Search.t Bug 25616: [21.11.x] Fix t/db_dependent/Search.t 2022-03-04 09:20:36 -05:00
Serials.t Bug 30035: Fix failing test 2022-03-04 13:30:49 +00:00
Serials_2.t
…
Service.t
…
ShelfBrowser.t
…
Sitemapper.t
…
Stats.t
…
StockRotationItems.t Bug 29809: (follow-up) Update tests and rename variable 2022-02-07 11:47:38 -05:00
StockRotationRotas.t
…
StockRotationStages.t Bug 29809: Fix StockRotationStages.t 2022-02-07 11:47:38 -05:00
SuggestionEngine_ExplodedTerms.t
…
Suggestions.t Bug 28855: (follow-up) adapt specific test 2021-12-17 09:49:04 -05:00
TablesSettings.t
…
Tags.t
…
Templates.t
…
TestBuilder.t Bug 29862: Add missing txn begin/rollback in TestBuilder.t 2022-02-07 11:38:03 -05:00
Upload.t
…
UsageStats.t
…
Virtualshelves.t Bug 28959: Add virtualshelves.public as a boolean 2021-10-28 17:47:38 +02:00
XISBN.t
…
XSLT.t
…
check_kohastructure.t
…
check_sysprefs.t
…
db_structure.t
…
rollingloans.t
…
sysprefs.t
…
yaml.t
…
zebra_config.pl
…