File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
src/Libraries/Nop.Services/FilterLevels Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -133,22 +133,19 @@ public virtual async Task<FilterLevelValue> GetFilterLevelValueByIdAsync(int fil
133133 /// Gets filter level values by product identifier
134134 /// </summary>
135135 /// <param name="productId">Product identifier</param>
136- /// <param name="pageIndex">Page index</param>
137- /// <param name="pageSize">Page size</param>
138136 /// <returns>
139137 /// A task that represents the asynchronous operation
140138 /// The task result contains the filter level values
141139 /// </returns>
142- public virtual async Task < IList < FilterLevelValue > > GetFilterLevelValuesByProductIdAsync ( int productId ,
143- int pageIndex = 0 , int pageSize = int . MaxValue )
140+ public virtual async Task < IList < FilterLevelValue > > GetFilterLevelValuesByProductIdAsync ( int productId )
144141 {
145142 var query = from flv_map in _filterLevelValueProductMappingRepository . Table
146143 join flv in _filterLevelValueRepository . Table on flv_map . FilterLevelValueId equals flv . Id
147144 where flv_map . ProductId == productId
148145 orderby flv . Id
149146 select flv ;
150147
151- return await query . ToPagedListAsync ( pageIndex , pageSize ) ;
148+ return await query . ToListAsync ( ) ;
152149 }
153150
154151 /// <summary>
Original file line number Diff line number Diff line change @@ -53,14 +53,11 @@ public partial interface IFilterLevelValueService
5353 /// Gets filter level values by product identifier
5454 /// </summary>
5555 /// <param name="productId">Product identifier</param>
56- /// <param name="pageIndex">Page index</param>
57- /// <param name="pageSize">Page size</param>
5856 /// <returns>
5957 /// A task that represents the asynchronous operation
6058 /// The task result contains the filter level values
6159 /// </returns>
62- Task < IList < FilterLevelValue > > GetFilterLevelValuesByProductIdAsync ( int productId ,
63- int pageIndex = 0 , int pageSize = int . MaxValue ) ;
60+ Task < IList < FilterLevelValue > > GetFilterLevelValuesByProductIdAsync ( int productId ) ;
6461
6562 /// <summary>
6663 /// Gets filter level values by identifier
You can’t perform that action at this time.
0 commit comments