Koha-clms/misc/devel
Kyle M Hall c0a51634f5
Bug 37448: Add script to allow developers to quickly generate large amounts of data for development and testing
Test Plan:
1) Apply this patch
2) Run: misc/devel/create_test_data.pl -n 99 -s Borrower -d surname=Hall  -d zipcode=111111
3) Search patrons' for the name "Hall"
4) Note there are 99 Hall's in your results!

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Bug 37448: Make use of build_sample_biblio and build_sample_item

The script is brilliant, but for biblios and items we should make use of build_sample_biblio and build_sample_item or this data does not get indexed + linked tables rows get missed

To test, before this patch, run:
1) misc/devel/create_test_data.pl -n 5 -s Biblio -d title=Test
  Notice the 'Test' biblio is created on the database, but doesnt show on searches, and accessing it directly through URL throws a 500 error (because metadata does not exist for the biblio)
2) Apply this patch. Repeat the step above. Notice it now shows on searches and visiting the biblio directly shows no errors

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 37448: (QA follow-up) Tidy script

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 576621a6df)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-04-22 23:01:38 +02:00
..
add_missing_filters.pl
…
coverage.pl
…
create_superlibrarian.pl Bug 36309: Make create_superlibrarian.pl output more useful 2024-04-22 08:57:35 +02:00
create_test_data.pl Bug 37448: Add script to allow developers to quickly generate large amounts of data for development and testing 2025-04-22 23:01:38 +02:00
get_prepared_letter.pl
…
install_plugins.pl Bug 36517: Fix output from install_plugins.pl 2024-04-12 11:26:01 +02:00
koha_perl_deps.pl Bug 36323: Move koha_perl_deps.pl to misc/devel 2024-04-03 17:05:51 +02:00
update_dbix_class_files.pl
…