Comments

janusman’s picture

Status: Active » Needs review
StatusFileSize
new8.61 KB

How about this?

janusman’s picture

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).

janusman’s picture

StatusFileSize
new10.92 KB

Updated patch.

janusman’s picture

Status: Needs review » Fixed
StatusFileSize
new20.77 KB

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.

Status: Fixed » Closed (fixed)

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