Project:Millennium OPAC Integration
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

See http://api.drupal.org/api/group/batch

Comments

#1

Status:active» needs review

How about this?

AttachmentSizeStatusTest resultOperations
millennium-464068-1.patch8.61 KBIgnored: Check issue status.NoneNone

#2

Title:See if module should use Batch API» Batch API integration

I'm convinced it should have Batch API =) Changing title =)

The above patch just imports items between a numbered range.. it would be great to import from a file (copy-pasted or uploaded).

#3

Updated patch.

AttachmentSizeStatusTest resultOperations
millennium-464068-3.patch10.92 KBIgnored: Check issue status.NoneNone

#4

Status:needs review» fixed

Committing attached patch.

* Changed the "Add items to import queue" settings tab to "Manual Import". That tab now offers options for importing now (batch API) or via cron runs, and from either a textarea to paste item numbers to, or a numbered range.
* Also, includes some performance improvements to:
millennium.cron.inc so it now asks for items from the bookcart in groups of 50
millennium_get_holdings_info() so it uses both a static cache and cache_set()/get() for holdings information.
* Moved millennium_time_history() to the main module file.

AttachmentSizeStatusTest resultOperations
millennium-464068-4.patch20.77 KBIgnored: Check issue status.NoneNone

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.