anuragji / DefaultSort

Omeka Plugin to set the default sort for Browse Items and Browse Collections
GNU General Public License v3.0
11 stars 9 forks source link

Interfering with Neatline item import #3

Open jaguillette opened 8 years ago

jaguillette commented 8 years ago

This is a very strange problem I've run into, but it seems that this plugin is interfering with importing Items into Neatline exhibits. For some reason, imports fail when this plugin is active, and succeed when it's been deactivated.

I don't know why, but the offending line seems to be 118 in DefaultSortPlugin.php. When I comment out $requestParams = $req->getParams();, importing Items into Neatline exhibits works again. I've kept my version of DefaultSort running by using $params to check the controller and action instead of $requestParams, but I'm not sure if that breaks anything else.

anuragji commented 8 years ago

AFAIK that should work. I did run into an issue with it once when using the Reports plugin. Let me do some testing and see. Thanks for the update.

anuragji commented 8 years ago

@jaguillette - I have recently started a new position and it'll be a long time before I have time to dedicate to testing. I am sorry to not be able to be of more help at this point.