inveniosoftware-attic / invenio-circulation-legacy

https://invenio-circulation.readthedocs.io
GNU General Public License v2.0
4 stars 8 forks source link

global: find item revisions by holding #62

Closed mvesper closed 7 years ago

mvesper commented 7 years ago
mvesper commented 7 years ago

Certain usecases in invenio-circulation require the ability to search in old revisions of items.

This is a WIP PR to show one way, which would be utilizing postgres ability to search directly in JSON fields.

There seem to be some issues, though:

Let me hear your thoughts :)

david-caro commented 7 years ago

Looks good to me :)

david-caro commented 7 years ago

This looks good to me. About using the date in the tests, should not be a problem unless there's something really wrong on the host that runs the tests, so ok for me too.