View Issue Details

IDProjectCategoryView StatusLast Update
0004290OXID eShop (all versions)4.07. Source code, Testpublic2012-12-10 13:44
Reporterb.hasis Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Summary0004290: oxfield2shop views are inconvenient
DescriptionThey are no views for subshop, just language dependent views...
So if i try to get a Price by using getViewName( 'oxfield2shop' ); i have to select the right shop by using where in the sql statement.

TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

has duplicate 0004289 closedjurate.baseviciene oxpricea, oxpriceb and oxpricec in the articleviews shows prices of supershop 

Activities

jurate.baseviciene

2012-08-03 14:10

reporter   ~0007225

Reminder sent to: b.hasis

Hi,


Could you please tell us Use Case how you want to use this views?

b.hasis

2012-08-06 06:52

reporter   ~0007231

Hi,

i want to get a very simple list of All-Article an here a-c prices. So because of the performance i dont want to load any kind if oxarticle objects or oxarticlelists.

I tried it also over the article views (see this https://bugs.oxid-esales.com/view.php?id=4289).

My expected results of using getViewName( 'oxfield2shop' ); in a Mall was a list of articles with here a-c prices in this Mall, and not all a-c prices for all shops.
I have to filter the mall in my query, thats not difficult, but for consistent of the views i think the views have to be uniform at all.

Or is there a reason why not, in this case, that i miss?

regards

Linas Kukulskis

2012-11-13 13:36

reporter   ~0007840

oxfield2shop - table is not regular multi-shop table (have no OXSHOPINCL, OXSHOPEXCL) so not needs for view per shop. simply use shopId check in where part in queries